all: apply go fix

Updates #cleanup

Signed-off-by: Adriano Sela Aviles <adriano@tailscale.com>
This commit is contained in:
Adriano Sela Aviles
2026-07-10 17:39:16 -07:00
committed by Adriano Sela Aviles
parent a5102d3fcb
commit d69bf2685a
26 changed files with 44 additions and 95 deletions
+1 -1
View File
@@ -74,7 +74,7 @@ func parseTrustedCIDRs(raw string) []netip.Prefix {
return nil
}
var prefixes []netip.Prefix
for _, s := range strings.Split(raw, ",") {
for s := range strings.SplitSeq(raw, ",") {
s = strings.TrimSpace(s)
if s == "" {
continue