Skip to content

chore: remove cnm code #11708

chore: remove cnm code

chore: remove cnm code #11708

Triggered via pull request August 8, 2024 18:28
Status Failure
Total duration 8m 34s
Artifacts

golangci.yaml

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

Annotations

20 errors and 2 warnings
Lint (1.21.x, ubuntu-latest): cns/ipamclient/ipamclient.go#L48
`GetDefaultAddressSpacesResponse` should be annotated with the `json` tag as it is passed to `json.Decoder.Decode` at cns/ipamclient/ipamclient.go:156:10 (musttag)
Lint (1.21.x, ubuntu-latest): cns/ipamclient/ipamclient.go#L55
`RequestPoolRequest` should be annotated with the `json` tag as it is passed to `json.Encoder.Encode` at cns/ipamclient/ipamclient.go:190:2 (musttag)
Lint (1.21.x, ubuntu-latest): cns/ipamclient/ipamclient.go#L64
`RequestPoolResponse` should be annotated with the `json` tag as it is passed to `json.Decoder.Decode` at cns/ipamclient/ipamclient.go:202:10 (musttag)
Lint (1.21.x, ubuntu-latest): cns/ipamclient/ipamclient.go#L95
`RequestAddressRequest` should be annotated with the `json` tag as it is passed to `json.Encoder.Encode` at cns/ipamclient/ipamclient.go:237:2 (musttag)
Lint (1.21.x, ubuntu-latest): cns/ipamclient/ipamclient.go#L102
`RequestAddressResponse` should be annotated with the `json` tag as it is passed to `json.Decoder.Decode` at cns/ipamclient/ipamclient.go:250:9 (musttag)
Lint (1.21.x, ubuntu-latest): cns/ipamclient/ipamclient.go#L109
`ReleaseAddressRequest` should be annotated with the `json` tag as it is passed to `json.Encoder.Encode` at cns/ipamclient/ipamclient.go:288:2 (musttag)
Lint (1.21.x, ubuntu-latest): cns/ipamclient/ipamclient.go#L116
`ReleaseAddressResponse` should be annotated with the `json` tag as it is passed to `json.Decoder.Decode` at cns/ipamclient/ipamclient.go:300:10 (musttag)
Lint (1.21.x, ubuntu-latest): cns/ipamclient/ipamclient.go#L82
`GetPoolInfoRequest` should be annotated with the `json` tag as it is passed to `json.Encoder.Encode` at cns/ipamclient/ipamclient.go:332:2 (musttag)
Lint (1.21.x, ubuntu-latest): cns/ipamclient/ipamclient.go#L87
`GetPoolInfoResponse` should be annotated with the `json` tag as it is passed to `json.Decoder.Decode` at cns/ipamclient/ipamclient.go:344:10 (musttag)
Lint (1.21.x, ubuntu-latest)
issues found
Lint (1.21.x, windows-latest): cns/ipamclient/ipamclient.go#L48
`GetDefaultAddressSpacesResponse` should be annotated with the `json` tag as it is passed to `json.Decoder.Decode` at \cns\ipamclient\ipamclient.go:156:10 (musttag)
Lint (1.21.x, windows-latest): cns/ipamclient/ipamclient.go#L55
`RequestPoolRequest` should be annotated with the `json` tag as it is passed to `json.Encoder.Encode` at \cns\ipamclient\ipamclient.go:190:2 (musttag)
Lint (1.21.x, windows-latest): cns/ipamclient/ipamclient.go#L64
`RequestPoolResponse` should be annotated with the `json` tag as it is passed to `json.Decoder.Decode` at \cns\ipamclient\ipamclient.go:202:10 (musttag)
Lint (1.21.x, windows-latest): cns/ipamclient/ipamclient.go#L95
`RequestAddressRequest` should be annotated with the `json` tag as it is passed to `json.Encoder.Encode` at \cns\ipamclient\ipamclient.go:237:2 (musttag)
Lint (1.21.x, windows-latest): cns/ipamclient/ipamclient.go#L102
`RequestAddressResponse` should be annotated with the `json` tag as it is passed to `json.Decoder.Decode` at \cns\ipamclient\ipamclient.go:250:9 (musttag)
Lint (1.21.x, windows-latest): cns/ipamclient/ipamclient.go#L109
`ReleaseAddressRequest` should be annotated with the `json` tag as it is passed to `json.Encoder.Encode` at \cns\ipamclient\ipamclient.go:288:2 (musttag)
Lint (1.21.x, windows-latest): cns/ipamclient/ipamclient.go#L116
`ReleaseAddressResponse` should be annotated with the `json` tag as it is passed to `json.Decoder.Decode` at \cns\ipamclient\ipamclient.go:300:10 (musttag)
Lint (1.21.x, windows-latest): cns/ipamclient/ipamclient.go#L82
`GetPoolInfoRequest` should be annotated with the `json` tag as it is passed to `json.Encoder.Encode` at \cns\ipamclient\ipamclient.go:332:2 (musttag)
Lint (1.21.x, windows-latest): cns/ipamclient/ipamclient.go#L87
`GetPoolInfoResponse` should be annotated with the `json` tag as it is passed to `json.Decoder.Decode` at \cns\ipamclient\ipamclient.go:344:10 (musttag)
Lint (1.21.x, windows-latest)
issues found
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