Skip to content

Drain controller

Drain controller #1518

Triggered via pull request September 4, 2023 19:46
Status Failure
Total duration 5m 31s
Artifacts

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

40 errors and 4 warnings
Golangci-lint: pkg/utils/cluster.go#L1
: # github.com/k8snetworkplumbingwg/sriov-network-operator/pkg/utils
Golangci-lint: pkg/utils/cluster.go#L16
metav1 redeclared in this block
Golangci-lint: pkg/utils/cluster.go#L8
other declaration of metav1
Golangci-lint: pkg/utils/cluster.go#L16
"k8s.io/apimachinery/pkg/apis/meta/v1" imported as metav1 and not used
Golangci-lint: pkg/utils/cluster.go#L18
strategicpatch redeclared in this block
Golangci-lint: pkg/utils/cluster.go#L9
other declaration of strategicpatch
Golangci-lint: pkg/utils/cluster.go#L18
"k8s.io/apimachinery/pkg/util/strategicpatch" imported and not used
Golangci-lint: pkg/utils/cluster.go#L19
kubernetes redeclared in this block
Golangci-lint: pkg/utils/cluster.go#L10
other declaration of kubernetes
Golangci-lint: pkg/utils/cluster.go#L19
"k8s.io/client-go/kubernetes" imported and not used
test: pkg/utils/cluster.go#L16
metav1 redeclared in this block
test: pkg/utils/cluster.go#L8
other declaration of metav1
test: pkg/utils/cluster.go#L16
"k8s.io/apimachinery/pkg/apis/meta/v1" imported as metav1 and not used
test: pkg/utils/cluster.go#L18
strategicpatch redeclared in this block
test: pkg/utils/cluster.go#L9
other declaration of strategicpatch
test: pkg/utils/cluster.go#L18
"k8s.io/apimachinery/pkg/util/strategicpatch" imported and not used
test: pkg/utils/cluster.go#L19
kubernetes redeclared in this block
test: pkg/utils/cluster.go#L10
other declaration of kubernetes
test: pkg/utils/cluster.go#L19
"k8s.io/client-go/kubernetes" imported and not used
test: pkg/utils/cluster.go#L22
consts redeclared in this block
build: pkg/utils/cluster.go#L16
metav1 redeclared in this block
build: pkg/utils/cluster.go#L8
other declaration of metav1
build: pkg/utils/cluster.go#L16
"k8s.io/apimachinery/pkg/apis/meta/v1" imported as metav1 and not used
build: pkg/utils/cluster.go#L18
strategicpatch redeclared in this block
build: pkg/utils/cluster.go#L9
other declaration of strategicpatch
build: pkg/utils/cluster.go#L18
"k8s.io/apimachinery/pkg/util/strategicpatch" imported and not used
build: pkg/utils/cluster.go#L19
kubernetes redeclared in this block
build: pkg/utils/cluster.go#L10
other declaration of kubernetes
build: pkg/utils/cluster.go#L19
"k8s.io/client-go/kubernetes" imported and not used
build: pkg/utils/cluster.go#L22
consts redeclared in this block
test-coverage: pkg/utils/cluster.go#L16
metav1 redeclared in this block
test-coverage: pkg/utils/cluster.go#L8
other declaration of metav1
test-coverage: pkg/utils/cluster.go#L16
"k8s.io/apimachinery/pkg/apis/meta/v1" imported as metav1 and not used
test-coverage: pkg/utils/cluster.go#L18
strategicpatch redeclared in this block
test-coverage: pkg/utils/cluster.go#L9
other declaration of strategicpatch
test-coverage: pkg/utils/cluster.go#L18
"k8s.io/apimachinery/pkg/util/strategicpatch" imported and not used
test-coverage: pkg/utils/cluster.go#L19
kubernetes redeclared in this block
test-coverage: pkg/utils/cluster.go#L10
other declaration of kubernetes
test-coverage: pkg/utils/cluster.go#L19
"k8s.io/client-go/kubernetes" imported and not used
test-coverage: pkg/utils/cluster.go#L22
consts redeclared in this block
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
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-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/