golangci-lint #8236
Annotations
10 errors and 11 warnings
server\tls\tlscertificate_retriever_windows_test.go#L30
Error return value of `os.WriteFile` is not checked (errcheck)
|
cni\plugin.go#L57
Error return value of `plugin.Plugin.Initialize` is not checked (errcheck)
|
cnm\plugin.go#L39
Error return value of `plugin.Plugin.Initialize` is not checked (errcheck)
|
cnm\plugin.go#L87
Error return value of `os.MkdirAll` is not checked (errcheck)
|
aitelemetry\telemetrywrapper_test.go#L75
Error return value of `w.Write` is not checked (errcheck)
|
telemetry\telemetrybuffer.go#L134
Error return value of `json.Unmarshal` is not checked (errcheck)
|
telemetry\telemetrybuffer.go#L138
Error return value of `json.Unmarshal` is not checked (errcheck)
|
telemetry\telemetrybuffer.go#L190
Error return value of `tb.Cleanup` is not checked (errcheck)
|
telemetry\telemetrybuffer.go#L378
Error return value of `tb.Cleanup` is not checked (errcheck)
|
tools\acncli\installer\install.go#L86
Error return value of `os.MkdirAll` is not checked (errcheck)
|
cns\nmagent\client.go#L5
var-naming: const GetNmAgentSupportedApiURLFmt should be GetNmAgentSupportedAPIURLFmt (revive)
|
npm\http\api\api.go#L5
var-naming: const DefaultHttpPort should be DefaultHTTPPort (revive)
|
npm\pkg\dataplane\iptables\iptable.go#L1
var-naming: don't use MixedCaps in package name; NPMIPtable should be npmiptable (revive)
|
netlink\netlinkinterface.go#L10
exported: type name will be used as netlink.NetlinkInterface by other packages, and that stutters; consider calling this Interface (revive)
|
netlink\mocknetlink.go#L49
unused-parameter: parameter 'l' seems to be unused, consider removing or renaming it as _ (revive)
|
netlink\mocknetlink.go#L53
unused-parameter: parameter 'name' seems to be unused, consider removing or renaming it as _ (revive)
|
netlink\mocknetlink.go#L57
unused-parameter: parameter 'name' seems to be unused, consider removing or renaming it as _ (revive)
|
netlink\netlink_windows.go#L25
unused-parameter: parameter 'link' seems to be unused, consider removing or renaming it as _ (revive)
|
netlink\netlink_windows.go#L29
unused-parameter: parameter 'name' seems to be unused, consider removing or renaming it as _ (revive)
|
netlink\netlink_windows.go#L33
unused-parameter: parameter 'name' seems to be unused, consider removing or renaming it as _ (revive)
|
|
The logs for this run have expired and are no longer available.
Loading