From cf86e615eafcd2ac2f38e936222e2dab9b0ee42d Mon Sep 17 00:00:00 2001 From: Audiobuzz Date: Sun, 5 Jul 2026 00:26:41 +0000 Subject: [PATCH] =?UTF-8?q?fleet-manager:=20go=20fix=20=E2=80=94=20strings?= =?UTF-8?q?.Split=20->=20strings.SplitSeq=20in=20newWebAuthn?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `go fix` modernised the comma-origin loop to the Go 1.24+ iterator idiom (strings.SplitSeq). No behaviour change. --- serving/fleet-manager/webauthn.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/serving/fleet-manager/webauthn.go b/serving/fleet-manager/webauthn.go index 6500a8d..1c927f0 100644 --- a/serving/fleet-manager/webauthn.go +++ b/serving/fleet-manager/webauthn.go @@ -196,7 +196,7 @@ func newWebAuthn(cfg config) (*webauthn.WebAuthn, error) { // the direct :9500 form and a 443-proxy form — since passkeys bind to the // exact scheme://host:port the browser used. Each must match a real origin. var origins []string - for _, o := range strings.Split(cfg.rpOrigin, ",") { + for o := range strings.SplitSeq(cfg.rpOrigin, ",") { if o = strings.TrimSpace(o); o != "" { origins = append(origins, o) }