Skip to content

Update misc (dev-preview) #5241

Update misc (dev-preview)

Update misc (dev-preview) #5241

Triggered via pull request November 25, 2023 08:20
Status Failure
Total duration 2m 36s
Artifacts

golangci-lint.yaml

on: pull_request
github (govet, golint and gotest)
1m 0s
github (govet, golint and gotest)
github (golangci)
2m 27s
github (golangci)
operator-lint
1m 23s
operator-lint
Fit to window
Zoom out
Zoom in

Annotations

30 errors and 5 warnings
github (govet, golint and gotest)
cannot use &DNSMasq{} (value of type *DNSMasq) as type admission.Validator in variable declaration:
github (govet, golint and gotest)
cannot use &IPSet{} (value of type *IPSet) as type admission.Validator in variable declaration:
github (govet, golint and gotest)
cannot use &NetConfig{} (value of type *NetConfig) as type admission.Validator in variable declaration:
github (govet, golint and gotest)
cannot use &Reservation{} (value of type *Reservation) as type admission.Validator in variable declaration:
github (govet, golint and gotest)
cannot use &OpenStackAnsibleEE{} (value of type *OpenStackAnsibleEE) as type admission.Validator in variable declaration:
github (govet, golint and gotest)
cannot use &OpenStackBaremetalSet{} (value of type *OpenStackBaremetalSet) as type admission.Validator in variable declaration:
github (govet, golint and gotest)
cannot use &OpenStackProvisionServer{} (value of type *OpenStackProvisionServer) as type admission.Validator in variable declaration:
github (govet, golint and gotest)
cannot use &Heat{} (value of type *Heat) as type admission.Validator in variable declaration:
github (govet, golint and gotest)
cannot use &Horizon{} (value of type *Horizon) as type admission.Validator in variable declaration:
github (govet, golint and gotest)
cannot use &Memcached{} (value of type *Memcached) as type admission.Validator in variable declaration:
operator-lint
cannot use &DNSMasq{} (value of type *DNSMasq) as type admission.Validator in variable declaration:
operator-lint
cannot use &IPSet{} (value of type *IPSet) as type admission.Validator in variable declaration:
operator-lint
cannot use &NetConfig{} (value of type *NetConfig) as type admission.Validator in variable declaration:
operator-lint
cannot use &Reservation{} (value of type *Reservation) as type admission.Validator in variable declaration:
operator-lint
cannot use &OpenStackAnsibleEE{} (value of type *OpenStackAnsibleEE) as type admission.Validator in variable declaration:
operator-lint
cannot use &OpenStackBaremetalSet{} (value of type *OpenStackBaremetalSet) as type admission.Validator in variable declaration:
operator-lint
cannot use &OpenStackProvisionServer{} (value of type *OpenStackProvisionServer) as type admission.Validator in variable declaration:
operator-lint
cannot use &Heat{} (value of type *Heat) as type admission.Validator in variable declaration:
operator-lint
cannot use &Cinder{} (value of type *Cinder) as type admission.Validator in variable declaration:
operator-lint
cannot use &Memcached{} (value of type *Memcached) as type admission.Validator in variable declaration:
github (golangci): pkg/openstackclient/funcs.go#L16
could not import github.com/openstack-k8s-operators/openstack-operator/apis/client/v1beta1 (-: # github.com/openstack-k8s-operators/openstack-operator/apis/client/v1beta1
github (golangci): pkg/openstack/ceilometer.go#L11
could not import github.com/openstack-k8s-operators/telemetry-operator/api/v1beta1 (-: # github.com/openstack-k8s-operators/telemetry-operator/api/v1beta1
github (golangci)
cannot use &CeilometerCentral{} (value of type *CeilometerCentral) as admission.Validator value in variable declaration: *CeilometerCentral does not implement admission.Validator (wrong type for method ValidateCreate)
github (golangci)
cannot use &CeilometerCompute{} (value of type *CeilometerCompute) as admission.Validator value in variable declaration: *CeilometerCompute does not implement admission.Validator (wrong type for method ValidateCreate)
github (golangci)
cannot use &InfraCompute{} (value of type *InfraCompute) as admission.Validator value in variable declaration: *InfraCompute does not implement admission.Validator (wrong type for method ValidateCreate)
github (golangci)
cannot use &Telemetry{} (value of type *Telemetry) as admission.Validator value in variable declaration: *Telemetry does not implement admission.Validator (wrong type for method ValidateCreate)
github (golangci): pkg/openstack/cinder.go#L12
could not import github.com/openstack-k8s-operators/cinder-operator/api/v1beta1 (-: # github.com/openstack-k8s-operators/cinder-operator/api/v1beta1
github (golangci)
cannot use &Cinder{} (value of type *Cinder) as admission.Validator value in variable declaration: *Cinder does not implement admission.Validator (wrong type for method ValidateCreate)
github (golangci): pkg/openstack/dnsmasq.go#L12
could not import github.com/openstack-k8s-operators/infra-operator/apis/network/v1beta1 (-: # github.com/openstack-k8s-operators/infra-operator/apis/network/v1beta1
github (golangci)
cannot use &DNSMasq{} (value of type *DNSMasq) as admission.Validator value in variable declaration: *DNSMasq does not implement admission.Validator (wrong type for method ValidateCreate)
github (govet, golint and gotest)
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/
operator-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/
github (golangci)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-go@v2, actions/checkout@v2, golangci/golangci-lint-action@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
github (golangci)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
github (golangci)
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/