all: apply go fix
Updates #cleanup Signed-off-by: Adriano Sela Aviles <adriano@tailscale.com>
This commit is contained in:
committed by
Adriano Sela Aviles
parent
a5102d3fcb
commit
d69bf2685a
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user