fix: [NPM] [v1.6] Update Ubuntu Base Image to 24.04 #16440
Annotations
40 errors and 4 warnings
|
Lint (1.23.x, ubuntu-latest):
cns/restserver/internalapi_test.go#L729
var-naming: var secIpConfig should be secIPConfig (revive)
|
|
Lint (1.23.x, ubuntu-latest):
cns/restserver/internalapi_test.go#L730
var-naming: var ipId should be ipID (revive)
|
|
Lint (1.23.x, ubuntu-latest):
cns/restserver/ipam_test.go#L134
unused-parameter: parameter 'prefixLength' seems to be unused, consider removing or renaming it as _ (revive)
|
|
Lint (1.23.x, ubuntu-latest):
cns/cnireconciler/podinfoprovider.go#L45
importShadow: shadow of imported from 'k8s.io/utils/exec' package 'exec' (gocritic)
|
|
Lint (1.23.x, ubuntu-latest):
cns/cnireconciler/version.go#L26
importShadow: shadow of imported from 'k8s.io/utils/exec' package 'exec' (gocritic)
|
|
Lint (1.23.x, ubuntu-latest):
cns/cnireconciler/version_test.go#L70
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
|
Lint (1.23.x, ubuntu-latest):
cns/cnireconciler/podinfoprovider_test.go#L124
The copy of the 'for' variable "tt" can be deleted (Go 1.22+) (copyloopvar)
|
|
Lint (1.23.x, ubuntu-latest):
cns/cnireconciler/podinfoprovider_test.go#L84
require-error: for error assertions use require (testifylint)
|
|
Lint (1.23.x, ubuntu-latest):
cns/cnireconciler/version_test.go#L71
require-error: for error assertions use require (testifylint)
|
|
Lint (1.23.x, ubuntu-latest):
cns/cnireconciler/version.go#L29
error returned from external package is unwrapped: sig: func github.com/hashicorp/go-version.NewVersion(v string) (*github.com/hashicorp/go-version.Version, error) (wrapcheck)
|
|
Lint (1.22.x, ubuntu-latest):
cns/cnireconciler/podinfoprovider.go#L45
importShadow: shadow of imported from 'k8s.io/utils/exec' package 'exec' (gocritic)
|
|
Lint (1.22.x, ubuntu-latest):
cns/cnireconciler/version.go#L26
importShadow: shadow of imported from 'k8s.io/utils/exec' package 'exec' (gocritic)
|
|
Lint (1.22.x, ubuntu-latest):
cns/service/main.go#L1375
cyclomatic complexity 42 of func `InitializeCRDState` is high (> 30) (gocyclo)
|
|
Lint (1.22.x, ubuntu-latest):
cns/restserver/ipam_test.go#L134
unused-parameter: parameter 'prefixLength' seems to be unused, consider removing or renaming it as _ (revive)
|
|
Lint (1.22.x, ubuntu-latest):
cns/restserver/internalapi_test.go#L729
var-naming: var secIpConfig should be secIPConfig (revive)
|
|
Lint (1.22.x, ubuntu-latest):
cns/restserver/internalapi_test.go#L730
var-naming: var ipId should be ipID (revive)
|
|
Lint (1.22.x, ubuntu-latest):
cns/cnireconciler/version_test.go#L70
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
|
Lint (1.22.x, ubuntu-latest):
cns/cnireconciler/podinfoprovider_test.go#L124
The copy of the 'for' variable "tt" can be deleted (Go 1.22+) (copyloopvar)
|
|
Lint (1.22.x, ubuntu-latest):
cns/service/main.go#L839
shadow: declaration of "err" shadows declaration at line 532 (govet)
|
|
Lint (1.22.x, ubuntu-latest):
cns/NetworkContainerContract.go#L335
the given struct should be annotated with the `json` tag (musttag)
|
|
Lint (1.22.x, windows-latest):
cns/service/main.go#L1375
cyclomatic complexity 42 of func `InitializeCRDState` is high (> 30) (gocyclo)
|
|
Lint (1.22.x, windows-latest):
cns/service/main.go#L839
shadow: declaration of "err" shadows declaration at line 532 (govet)
|
|
Lint (1.22.x, windows-latest):
cns/cnireconciler/podinfoprovider.go#L45
importShadow: shadow of imported from 'k8s.io/utils/exec' package 'exec' (gocritic)
|
|
Lint (1.22.x, windows-latest):
cns/cnireconciler/version.go#L26
importShadow: shadow of imported from 'k8s.io/utils/exec' package 'exec' (gocritic)
|
|
Lint (1.22.x, windows-latest):
cns/cnireconciler/version_test.go#L70
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
|
Lint (1.22.x, windows-latest):
cns/cnireconciler/podinfoprovider_test.go#L124
The copy of the 'for' variable "tt" can be deleted (Go 1.22+) (copyloopvar)
|
|
Lint (1.22.x, windows-latest):
cns/cnireconciler/version_test.go#L71
require-error: for error assertions use require (testifylint)
|
|
Lint (1.22.x, windows-latest):
cns/cnireconciler/podinfoprovider_test.go#L84
require-error: for error assertions use require (testifylint)
|
|
Lint (1.22.x, windows-latest):
cns/cnireconciler/version.go#L29
error returned from external package is unwrapped: sig: func github.com/hashicorp/go-version.NewVersion(v string) (*github.com/hashicorp/go-version.Version, error) (wrapcheck)
|
|
Lint (1.22.x, windows-latest):
cns/restserver/ipam_test.go#L134
unused-parameter: parameter 'prefixLength' seems to be unused, consider removing or renaming it as _ (revive)
|
|
Lint (1.23.x, windows-latest):
cns/cnireconciler/podinfoprovider.go#L45
importShadow: shadow of imported from 'k8s.io/utils/exec' package 'exec' (gocritic)
|
|
Lint (1.23.x, windows-latest):
cns/cnireconciler/version.go#L26
importShadow: shadow of imported from 'k8s.io/utils/exec' package 'exec' (gocritic)
|
|
Lint (1.23.x, windows-latest):
cns/service/main.go#L1375
cyclomatic complexity 42 of func `InitializeCRDState` is high (> 30) (gocyclo)
|
|
Lint (1.23.x, windows-latest):
cns/restserver/ipam_test.go#L134
unused-parameter: parameter 'prefixLength' seems to be unused, consider removing or renaming it as _ (revive)
|
|
Lint (1.23.x, windows-latest):
cns/restserver/internalapi_test.go#L729
var-naming: var secIpConfig should be secIPConfig (revive)
|
|
Lint (1.23.x, windows-latest):
cns/restserver/internalapi_test.go#L730
var-naming: var ipId should be ipID (revive)
|
|
Lint (1.23.x, windows-latest):
cns/cnireconciler/version_test.go#L70
indent-error-flow: if block ends with a return statement, so drop this else and outdent its block (revive)
|
|
Lint (1.23.x, windows-latest):
cns/cnireconciler/podinfoprovider_test.go#L124
The copy of the 'for' variable "tt" can be deleted (Go 1.22+) (copyloopvar)
|
|
Lint (1.23.x, windows-latest):
cns/service/main.go#L839
shadow: declaration of "err" shadows declaration at line 532 (govet)
|
|
Lint (1.23.x, windows-latest):
cns/NetworkContainerContract.go#L335
the given struct should be annotated with the `json` tag (musttag)
|
|
Lint (1.23.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.22.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.22.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
|
|
Lint (1.23.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
|