feat(container): update container image golang to v1.24 - autoclosed #2
Annotations
8 errors
|
Run on Ubuntu
issues found
|
|
Run on Ubuntu:
cmd/main.go#L60
S1002: should omit comparison to bool constant, can be simplified to !enableLeaderElection (staticcheck)
|
|
Run on Ubuntu:
pkg/leasewatcher/leasewatcher.go#L77
import-shadowing: The name 'log' shadows an import name (revive)
|
|
Run on Ubuntu:
pkg/leasewatcher/leasewatcher.go#L166
The line is 122 characters long, which exceeds the maximum of 120 characters. (lll)
|
|
Run on Ubuntu:
pkg/leasewatcher/leasewatcher.go#L76
The line is 122 characters long, which exceeds the maximum of 120 characters. (lll)
|
|
Run on Ubuntu:
cmd/main.go#L169
The line is 122 characters long, which exceeds the maximum of 120 characters. (lll)
|
|
Run on Ubuntu:
cmd/main.go#L88
The line is 132 characters long, which exceeds the maximum of 120 characters. (lll)
|
|
Run on Ubuntu:
cmd/main.go#L76
The line is 127 characters long, which exceeds the maximum of 120 characters. (lll)
|