Skip to content

Enable CNS swiftv2 path for SF/Standalone scenario to program secondary nics #9034

Enable CNS swiftv2 path for SF/Standalone scenario to program secondary nics

Enable CNS swiftv2 path for SF/Standalone scenario to program secondary nics #9034

Triggered via pull request January 25, 2024 06:56
Status Failure
Total duration 6m 29s
Artifacts

golangci.yaml

on: pull_request
Matrix: Lint
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 2 warnings
Lint (1.21.x, ubuntu-latest): cns/middlewares/SFSwiftV2.go#L5
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
Lint (1.21.x, ubuntu-latest): cns/middlewares/SFSwiftV2.go#L12
File is not `gci`-ed with --skip-generated -s standard -s default (gci)
Lint (1.21.x, ubuntu-latest): cns/middlewares/SFSwiftV2.go#L102
importShadow: shadow of imported from 'github.com/Azure/azure-container-networking/cns/client' package 'cnsclient' (gocritic)
Lint (1.21.x, ubuntu-latest): cns/middlewares/SFSwiftV2.go#L100
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
Lint (1.21.x, ubuntu-latest): cns/middlewares/SFSwiftV2.go#L104
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
Lint (1.21.x, ubuntu-latest): cns/middlewares/SFSwiftV2.go#L108
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
Lint (1.21.x, ubuntu-latest)
issues found
Lint (1.21.x, windows-latest)
golangci-lint exit with code 3
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)
Restore cache failed: Dependencies file is not found in D:\a\azure-container-networking\azure-container-networking. Supported file pattern: go.sum