Skip to content

Drain controller

Drain controller #1519

Triggered via pull request September 5, 2023 08:05
Status Failure
Total duration 3m 15s
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#L17
metav1 redeclared in this block
Golangci-lint: pkg/utils/cluster.go#L8
other declaration of metav1
Golangci-lint: pkg/utils/cluster.go#L17
"k8s.io/apimachinery/pkg/apis/meta/v1" imported as metav1 and not used
Golangci-lint: pkg/utils/cluster.go#L19
strategicpatch redeclared in this block
Golangci-lint: pkg/utils/cluster.go#L9
other declaration of strategicpatch
Golangci-lint: pkg/utils/cluster.go#L19
"k8s.io/apimachinery/pkg/util/strategicpatch" imported and not used
Golangci-lint: pkg/utils/cluster.go#L20
kubernetes redeclared in this block
Golangci-lint: pkg/utils/cluster.go#L10
other declaration of kubernetes
Golangci-lint: pkg/utils/cluster.go#L20
"k8s.io/client-go/kubernetes" imported and not used
test-coverage: pkg/utils/cluster.go#L17
metav1 redeclared in this block
test-coverage: pkg/utils/cluster.go#L8
other declaration of metav1
test-coverage: pkg/utils/cluster.go#L17
"k8s.io/apimachinery/pkg/apis/meta/v1" imported as metav1 and not used
test-coverage: pkg/utils/cluster.go#L19
strategicpatch redeclared in this block
test-coverage: pkg/utils/cluster.go#L9
other declaration of strategicpatch
test-coverage: pkg/utils/cluster.go#L19
"k8s.io/apimachinery/pkg/util/strategicpatch" imported and not used
test-coverage: pkg/utils/cluster.go#L20
kubernetes redeclared in this block
test-coverage: pkg/utils/cluster.go#L10
other declaration of kubernetes
test-coverage: pkg/utils/cluster.go#L20
"k8s.io/client-go/kubernetes" imported and not used
test-coverage: pkg/utils/cluster.go#L23
consts redeclared in this block
test: pkg/utils/cluster.go#L17
metav1 redeclared in this block
test: pkg/utils/cluster.go#L8
other declaration of metav1
test: pkg/utils/cluster.go#L17
"k8s.io/apimachinery/pkg/apis/meta/v1" imported as metav1 and not used
test: pkg/utils/cluster.go#L19
strategicpatch redeclared in this block
test: pkg/utils/cluster.go#L9
other declaration of strategicpatch
test: pkg/utils/cluster.go#L19
"k8s.io/apimachinery/pkg/util/strategicpatch" imported and not used
test: pkg/utils/cluster.go#L20
kubernetes redeclared in this block
test: pkg/utils/cluster.go#L10
other declaration of kubernetes
test: pkg/utils/cluster.go#L20
"k8s.io/client-go/kubernetes" imported and not used
test: pkg/utils/cluster.go#L23
consts redeclared in this block
build: pkg/utils/cluster.go#L17
metav1 redeclared in this block
build: pkg/utils/cluster.go#L8
other declaration of metav1
build: pkg/utils/cluster.go#L17
"k8s.io/apimachinery/pkg/apis/meta/v1" imported as metav1 and not used
build: pkg/utils/cluster.go#L19
strategicpatch redeclared in this block
build: pkg/utils/cluster.go#L9
other declaration of strategicpatch
build: pkg/utils/cluster.go#L19
"k8s.io/apimachinery/pkg/util/strategicpatch" imported and not used
build: pkg/utils/cluster.go#L20
kubernetes redeclared in this block
build: pkg/utils/cluster.go#L10
other declaration of kubernetes
build: pkg/utils/cluster.go#L20
"k8s.io/client-go/kubernetes" imported and not used
build: pkg/utils/cluster.go#L23
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-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/
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/