From 2499c066a368393206eabf24b4e2553c1e147cbc 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 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