Skip to content

Drain controller

Drain controller #1496

Triggered via pull request August 22, 2023 15:46
Status Failure
Total duration 8m 40s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 4 warnings
Golangci-lint: pkg/utils/cluster.go#L9
File is not `goimports`-ed with -local github.com/k8snetworkplumbingwg/sriov-network-operator (goimports)
Golangci-lint: controllers/drain_controller.go#L6
File is not `goimports`-ed with -local github.com/k8snetworkplumbingwg/sriov-network-operator (goimports)
Golangci-lint: controllers/drain_controller_test.go#L4
File is not `goimports`-ed with -local github.com/k8snetworkplumbingwg/sriov-network-operator (goimports)
Golangci-lint: controllers/drain_controller.go#L113
func `(*DrainReconciler).drainNode` is unused (unused)
Golangci-lint: controllers/migration_controller.go#L68
unnecessary trailing newline (whitespace)
Golangci-lint: main.go#L146
ineffectual assignment to err (ineffassign)
Golangci-lint: main.go#L149
ineffectual assignment to err (ineffassign)
Golangci-lint
issues found
test-coverage
Process completed with exit code 2.
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/
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/
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/
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/