fix: change to new-from-rev master in lint action #8238
Annotations
20 errors and 22 warnings
Lint (1.21.x, ubuntu-latest):
server/tls/tlscertificate_retriever_linux_test.go#L27
Error return value of `os.WriteFile` is not checked (errcheck)
|
Lint (1.21.x, ubuntu-latest):
aitelemetry/telemetrywrapper_test.go#L75
Error return value of `w.Write` is not checked (errcheck)
|
Lint (1.21.x, ubuntu-latest):
cni/plugin.go#L57
Error return value of `plugin.Plugin.Initialize` is not checked (errcheck)
|
Lint (1.21.x, ubuntu-latest):
cnm/plugin.go#L39
Error return value of `plugin.Plugin.Initialize` is not checked (errcheck)
|
Lint (1.21.x, ubuntu-latest):
cnm/plugin.go#L87
Error return value of `os.MkdirAll` is not checked (errcheck)
|
Lint (1.21.x, ubuntu-latest):
cnm/plugin_linux.go#L30
Error return value of `os.MkdirAll` is not checked (errcheck)
|
Lint (1.21.x, ubuntu-latest):
telemetry/telemetrybuffer.go#L134
Error return value of `json.Unmarshal` is not checked (errcheck)
|
Lint (1.21.x, ubuntu-latest):
telemetry/telemetrybuffer.go#L138
Error return value of `json.Unmarshal` is not checked (errcheck)
|
Lint (1.21.x, ubuntu-latest):
telemetry/telemetrybuffer.go#L190
Error return value of `tb.Cleanup` is not checked (errcheck)
|
Lint (1.21.x, ubuntu-latest):
telemetry/telemetrybuffer.go#L378
Error return value of `tb.Cleanup` is not checked (errcheck)
|
Lint (1.21.x, windows-latest):
server/tls/tlscertificate_retriever_windows_test.go#L30
Error return value of `os.WriteFile` is not checked (errcheck)
|
Lint (1.21.x, windows-latest):
cnm/plugin.go#L39
Error return value of `plugin.Plugin.Initialize` is not checked (errcheck)
|
Lint (1.21.x, windows-latest):
cnm/plugin.go#L87
Error return value of `os.MkdirAll` is not checked (errcheck)
|
Lint (1.21.x, windows-latest):
cni/plugin.go#L57
Error return value of `plugin.Plugin.Initialize` is not checked (errcheck)
|
Lint (1.21.x, windows-latest):
aitelemetry/telemetrywrapper_test.go#L75
Error return value of `w.Write` is not checked (errcheck)
|
Lint (1.21.x, windows-latest):
telemetry/telemetrybuffer.go#L134
Error return value of `json.Unmarshal` is not checked (errcheck)
|
Lint (1.21.x, windows-latest):
telemetry/telemetrybuffer.go#L138
Error return value of `json.Unmarshal` is not checked (errcheck)
|
Lint (1.21.x, windows-latest):
telemetry/telemetrybuffer.go#L190
Error return value of `tb.Cleanup` is not checked (errcheck)
|
Lint (1.21.x, windows-latest):
telemetry/telemetrybuffer.go#L378
Error return value of `tb.Cleanup` is not checked (errcheck)
|
Lint (1.21.x, windows-latest):
tools/acncli/installer/install.go#L86
Error return value of `os.MkdirAll` is not checked (errcheck)
|
Lint (1.21.x, ubuntu-latest):
npm/http/api/api.go#L5
var-naming: const DefaultHttpPort should be DefaultHTTPPort (revive)
|
Lint (1.21.x, ubuntu-latest):
cns/nmagent/client.go#L5
var-naming: const GetNmAgentSupportedApiURLFmt should be GetNmAgentSupportedAPIURLFmt (revive)
|
Lint (1.21.x, ubuntu-latest):
npm/pkg/dataplane/iptables/iptable.go#L1
var-naming: don't use MixedCaps in package name; NPMIPtable should be npmiptable (revive)
|
Lint (1.21.x, ubuntu-latest):
cns/routes/routes_linux.go#L12
unused-parameter: parameter 'routes' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint (1.21.x, ubuntu-latest):
netio/mocknetio.go#L60
unused-parameter: parameter 'iface' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint (1.21.x, ubuntu-latest):
server/tls/tls_certificate_retriever.go#L12
exported: type name will be used as tls.TlsCertificateRetriever by other packages, and that stutters; consider calling this CertificateRetriever (revive)
|
Lint (1.21.x, ubuntu-latest):
server/tls/tlscertificate_retriever.go#L8
exported: type name will be used as tls.TlsSettings by other packages, and that stutters; consider calling this Settings (revive)
|
Lint (1.21.x, ubuntu-latest):
server/tls/tlscertificate_retriever_linux.go#L18
var-naming: type linuxTlsCertificateRetriever should be linuxTLSCertificateRetriever (revive)
|
Lint (1.21.x, ubuntu-latest):
server/tls/tlscertificate_retriever_linux.go#L89
var-naming: func NewTlsCertificateRetriever should be NewTLSCertificateRetriever (revive)
|
Lint (1.21.x, ubuntu-latest):
server/tls/tlscertificate_retriever.go#L18
var-naming: func GetTlsCertificateRetriever should be GetTLSCertificateRetriever (revive)
|
Lint (1.21.x, ubuntu-latest)
Restore cache failed: Dependencies file is not found in /home/runner/work/azure-container-networking/azure-container-networking. Supported file pattern: go.sum
|
Lint (1.21.x, windows-latest):
npm/http/api/api.go#L5
var-naming: const DefaultHttpPort should be DefaultHTTPPort (revive)
|
Lint (1.21.x, windows-latest):
cns/nmagent/client.go#L5
var-naming: const GetNmAgentSupportedApiURLFmt should be GetNmAgentSupportedAPIURLFmt (revive)
|
Lint (1.21.x, windows-latest):
npm/pkg/dataplane/iptables/iptable.go#L1
var-naming: don't use MixedCaps in package name; NPMIPtable should be npmiptable (revive)
|
Lint (1.21.x, windows-latest):
netlink/netlinkinterface.go#L10
exported: type name will be used as netlink.NetlinkInterface by other packages, and that stutters; consider calling this Interface (revive)
|
Lint (1.21.x, windows-latest):
netlink/mocknetlink.go#L49
unused-parameter: parameter 'l' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint (1.21.x, windows-latest):
netlink/netlink_windows.go#L25
unused-parameter: parameter 'link' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint (1.21.x, windows-latest):
netlink/mocknetlink.go#L53
unused-parameter: parameter 'name' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint (1.21.x, windows-latest):
netlink/netlink_windows.go#L29
unused-parameter: parameter 'name' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint (1.21.x, windows-latest):
netlink/netlink_windows.go#L33
unused-parameter: parameter 'name' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint (1.21.x, windows-latest):
netlink/mocknetlink.go#L57
unused-parameter: parameter 'name' seems to be unused, consider removing or renaming it as _ (revive)
|
Lint (1.21.x, windows-latest)
Restore cache failed: Dependencies file is not found in D:\a\azure-container-networking\azure-container-networking. Supported file pattern: go.sum
|