[do-not-review]Singularitywork #8182
Annotations
28 errors and 5 warnings
Lint (1.21.x, ubuntu-latest):
cns/NetworkContainerContract.go#L282
SA5007: infinite recursive call (staticcheck)
|
Lint (1.21.x, ubuntu-latest):
cns/restserver/ipam.go#L94
commentFormatting: put a space between `//` and comment text (gocritic)
|
Lint (1.21.x, ubuntu-latest):
cns/restserver/ipam.go#L98
commentFormatting: put a space between `//` and comment text (gocritic)
|
Lint (1.21.x, ubuntu-latest):
cns/restserver/ipam.go#L122
commentFormatting: put a space between `//` and comment text (gocritic)
|
Lint (1.21.x, ubuntu-latest):
cns/restserver/ipam.go#L57
commentedOutCode: may want to remove commented-out code (gocritic)
|
Lint (1.21.x, ubuntu-latest):
cns/restserver/ipam.go#L191
commentedOutCode: may want to remove commented-out code (gocritic)
|
Lint (1.21.x, ubuntu-latest):
cns/restserver/ipam.go#L153
File is not `gofumpt`-ed (gofumpt)
|
Lint (1.21.x, ubuntu-latest):
cns/restserver/ipam.go#L163
shadow: declaration of "err" shadows declaration at line 156 (govet)
|
Lint (1.21.x, ubuntu-latest):
cns/restserver/ipam.go#L198
ineffectual assignment to err (ineffassign)
|
Lint (1.21.x, ubuntu-latest):
cns/restserver/ipam.go#L168
should rewrite http.NewRequestWithContext or add (*Request).WithContext (noctx)
|
Lint (1.21.x, windows-latest)
undefined: ipamAddConfig)"
|
Lint (1.21.x, windows-latest)
undefined: ipamAddConfig)"
|
Lint (1.21.x, windows-latest)
undefined: ipamAddConfig"
|
Lint (1.21.x, windows-latest)
golangci-lint exit with code 3
|
Lint (1.20.x, ubuntu-latest):
cns/wireserver/net.go#L70
equalFold: consider replacing with strings.EqualFold(i.MacAddress, newMacAddress) (gocritic)
|
Lint (1.20.x, ubuntu-latest):
cns/restserver/ipam.go#L94
commentFormatting: put a space between `//` and comment text (gocritic)
|
Lint (1.20.x, ubuntu-latest):
cns/restserver/ipam.go#L98
commentFormatting: put a space between `//` and comment text (gocritic)
|
Lint (1.20.x, ubuntu-latest):
cns/restserver/ipam.go#L122
commentFormatting: put a space between `//` and comment text (gocritic)
|
Lint (1.20.x, ubuntu-latest):
cns/restserver/ipam.go#L57
commentedOutCode: may want to remove commented-out code (gocritic)
|
Lint (1.20.x, ubuntu-latest):
cns/restserver/ipam.go#L191
commentedOutCode: may want to remove commented-out code (gocritic)
|
Lint (1.20.x, ubuntu-latest):
cns/restserver/ipam.go#L153
File is not `gofumpt`-ed (gofumpt)
|
Lint (1.20.x, ubuntu-latest):
cns/restserver/ipam.go#L163
shadow: declaration of "err" shadows declaration at line 156 (govet)
|
Lint (1.20.x, ubuntu-latest):
cns/restserver/ipam.go#L198
ineffectual assignment to err (ineffassign)
|
Lint (1.20.x, ubuntu-latest):
cns/restserver/ipam.go#L168
should rewrite http.NewRequestWithContext or add (*Request).WithContext (noctx)
|
Lint (1.20.x, windows-latest)
undefined: ipamAddConfig\nnote: module requires Go 1.21)"
|
Lint (1.20.x, windows-latest)
undefined: ipamAddConfig\nnote: module requires Go 1.21)"
|
Lint (1.20.x, windows-latest)
undefined: ipamAddConfig\nnote: module requires Go 1.21"
|
Lint (1.20.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
|
Lint (1.20.x, ubuntu-latest):
network/manager.go#L345
var-naming: method parameter networkId should be networkID (revive)
|
Lint (1.20.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.20.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
|