Refactor #3
Annotations
5 errors and 1 warning
test (1.22.x):
cmd/kindnetd/main.go#L140
ifElseChain: rewrite if-else to switch statement (gocritic)
|
test (1.22.x):
cmd/kindnetd/main.go#L147
S1039: unnecessary use of fmt.Sprint (gosimple)
|
test (1.22.x):
cmd/kindnetd/main.go#L308
SA1019: sets.String is deprecated: use generic Set instead. new ways: s1 := Set[string]{} s2 := New[string]() (staticcheck)
|
test (1.22.x):
cmd/kindnetd/masq.go#L64
ST1005: error strings should not be capitalized (stylecheck)
|
test (1.22.x)
Process completed with exit code 2.
|
test (1.22.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v3, actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|