all: fix full-tree golangci-lint findings

The new full-tree golangci-lint check reports issues the --new-from-rev
diff lint hid: nine wsl_v5 whitespace gaps, a prealloc, and an unparam
(setCSRFCookie never errored, so drop the return and update callers).
gocyclo on the central UpdateNodeFromMapRequest and an SA1019 NetMap
deprecation in an integration helper are suppressed with reasons.
This commit is contained in:
Kristoffer Dalby
2026-06-20 10:28:03 +00:00
parent 2632006f5f
commit 8f314797ce
13 changed files with 17 additions and 17 deletions
+1
View File
@@ -146,6 +146,7 @@ var listNodeRoutesCmd = &cobra.Command{
}
nodes := resp.JSON200.Nodes
if identifier != 0 {
idStr := strconv.FormatUint(identifier, util.Base10)
for _, node := range nodes {