diff --git a/hscontrol/policy/v2/types.go b/hscontrol/policy/v2/types.go index 7a12188f..4552c94f 100644 --- a/hscontrol/policy/v2/types.go +++ b/hscontrol/policy/v2/types.go @@ -2795,10 +2795,6 @@ func (p *SSHCheckPeriod) UnmarshalJSON(b []byte) error { return nil } - // time.ParseDuration produces error strings like - // `time: invalid duration "abc"` which match SaaS body wording - // exactly; model.ParseDuration wraps the same parse with custom - // phrasing and would diverge. d, err := time.ParseDuration(str) if err != nil { return err