Skip to content

Update error messages to show why no interface is selected #1604

Update error messages to show why no interface is selected

Update error messages to show why no interface is selected #1604

Triggered via pull request September 28, 2023 16:08
Status Failure
Total duration 3m 20s
Artifacts

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

14 errors and 4 warnings
build
Process completed with exit code 2.
Golangci-lint: cmd/webhook/start.go#L16
could not import github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/webhook (-: # github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/webhook
Golangci-lint: pkg/webhook/validate.go#L305
not enough return values
Golangci-lint: pkg/webhook/client.go#L1
: # github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/webhook [github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/webhook.test]
Golangci-lint: pkg/webhook/validate.go#L305
not enough return values
Golangci-lint: pkg/webhook/validate_test.go#L658
assignment mismatch: 1 variable but validatePolicyForNodeState returns 2 values
Golangci-lint: pkg/webhook/validate_test.go#L685
assignment mismatch: 1 variable but validatePolicyForNodeState returns 2 values (typecheck)
Golangci-lint
issues found
test-coverage: pkg/webhook/validate.go#L305
not enough return values
test-coverage
not enough return values
test-coverage
Process completed with exit code 2.
test: pkg/webhook/validate.go#L305
not enough return values
test
not enough return values
test
Process completed with exit code 2.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Golangci-lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test-coverage
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/