You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix or silence errors from golangci-lint v2.4.0:
- unchecked return values (errcheck)
- nolint for Close() for read-only files and http servers
- unnecessary naming of embedded fields of structs (staticcheck)
- multiple imports of the same package (staticcheck)
- use switch-case instead of if/else (staticcheck)
- remove type from var declaration (staticcheck)
- remove "Yoda" condition from if (staticcheck)
- don't use dot imports
fmt.Fprintf(flags.Output(), "unable to determine the default kubelet config endpoint 'https://${NODE_ADDRESS}:%d/configz' due to empty NODE_ADDRESS environment, "+
86
+
_, _=fmt.Fprintf(flags.Output(), "unable to determine the default kubelet config endpoint 'https://${NODE_ADDRESS}:%d/configz' due to empty NODE_ADDRESS environment, "+
87
87
"please either define the NODE_ADDRESS environment variable or specify endpoint with the -kubelet-config-uri flag\n", kubeletSecurePort)
0 commit comments