add default value for the allow parameter of calico:networkpolicy #117
Annotations
5 errors and 1 warning
lint / lint:
actionners/calico/networkpolicy/networkpolicy.go#L128
string `/32` has 2 occurrences, make it a constant (goconst)
|
lint / lint:
internal/kubernetes/checks/checks.go#L12
const `na` is unused (unused)
|
lint / lint:
internal/kubernetes/checks/checks.go#L13
const `null` is unused (unused)
|
lint / lint:
actionners/calico/networkpolicy/networkpolicy.go#L130
shadow: declaration of "err" shadows declaration at line 35 (govet)
|
lint / lint
issues found
|
lint / lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|