From c0a087461ec7f8bd26dcaff252d2b1f0ce4359e9 Mon Sep 17 00:00:00 2001 From: Kristoffer Dalby Date: Wed, 13 May 2026 10:27:18 +0000 Subject: [PATCH] policy/v2: drop useless comment on checkPeriod parse --- hscontrol/policy/v2/types.go | 4 ---- 1 file changed, 4 deletions(-) diff --git a/hscontrol/policy/v2/types.go b/hscontrol/policy/v2/types.go index a66e5375..2e312976 100644 --- a/hscontrol/policy/v2/types.go +++ b/hscontrol/policy/v2/types.go @@ -2946,10 +2946,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