Use auto bump functionality in release charts #5813
golangci-lint.yml
on: pull_request
golangci-lint
3m 36s
Annotations
10 errors
golangci-lint:
integrationtests/gitjob/controller/suite_test.go#L28
corev1 redeclared in this block
|
golangci-lint:
integrationtests/gitjob/controller/suite_test.go#L18
other declaration of corev1
|
golangci-lint:
integrationtests/gitjob/controller/suite_test.go#L28
"k8s.io/api/core/v1" imported as corev1 and not used (typecheck)
|
golangci-lint:
internal/cmd/controller/gitops/reconciler/gitjob_test.go#L1040
cannot use fake.NewFakeClient(&corev1.Secret{…}) (value of type "sigs.k8s.io/controller-runtime/pkg/client".WithWatch) as testClientType value in struct literal
|
golangci-lint:
internal/cmd/controller/gitops/reconciler/gitjob_test.go#L1145
cannot use fake.NewFakeClient(&corev1.Secret{…}, &corev1.Secret{…}) (value of type "sigs.k8s.io/controller-runtime/pkg/client".WithWatch) as testClientType value in struct literal
|
golangci-lint:
internal/cmd/controller/gitops/reconciler/gitjob_test.go#L1215
cannot use fake.NewFakeClient() (value of type "sigs.k8s.io/controller-runtime/pkg/client".WithWatch) as testClientType value in struct literal (typecheck)
|
golangci-lint:
internal/cmd/controller/gitops/reconciler/restrictions_test.go#L17
could not import github.com/rancher/fleet/internal/cmd/controller/gitops/reconciler (-: # github.com/rancher/fleet/internal/cmd/controller/gitops/reconciler [github.com/rancher/fleet/internal/cmd/controller/gitops/reconciler.test]
|
golangci-lint:
internal/cmd/controller/gitops/reconciler/gitjob_test.go#L1040
cannot use fake.NewFakeClient(&corev1.Secret{…}) (value of type "sigs.k8s.io/controller-runtime/pkg/client".WithWatch) as testClientType value in struct literal
|
golangci-lint:
internal/cmd/controller/gitops/reconciler/gitjob_test.go#L1145
cannot use fake.NewFakeClient(&corev1.Secret{…}, &corev1.Secret{…}) (value of type "sigs.k8s.io/controller-runtime/pkg/client".WithWatch) as testClientType value in struct literal
|
golangci-lint:
internal/cmd/controller/gitops/reconciler/gitjob_test.go#L1215
cannot use fake.NewFakeClient() (value of type "sigs.k8s.io/controller-runtime/pkg/client".WithWatch) as testClientType value in struct literal) (typecheck)
|