Skip to content

openstack: fix cognitive complexity #2331

openstack: fix cognitive complexity

openstack: fix cognitive complexity #2331

Triggered via pull request December 25, 2023 10:12
Status Failure
Total duration 4m 3s
Artifacts 4

pull-request.yml

on: pull_request
Matrix: ci_setup
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
build
cannot use r.Builder.PopulatorVolumes(vmRef, annotations, secret.Name) (value of type []*"k8s.io/api/core/v1".PersistentVolumeClaim) as []string value in return statement
build
cannot use r.kubevirt.PopulatorVolumes(vm.Ref) (value of type []string) as []*"k8s.io/api/core/v1".PersistentVolumeClaim value in assignment
build
cannot use pvcs (variable of type []*"k8s.io/api/core/v1".PersistentVolumeClaim) as []string value in argument to r.kubevirt.EnsurePopulatorVolumes
build
cannot use r.Builder.PopulatorVolumes(vmRef, annotations, secret.Name) (value of type []*"k8s.io/api/core/v1".PersistentVolumeClaim) as []string value in return statement
build
Process completed with exit code 2.
ci_setup (ubuntu-latest, vsphere)
Process completed with exit code 1.
ci_setup (ubuntu-latest, ova)
Process completed with exit code 1.
ci_setup (ubuntu-latest, ovirt)
Process completed with exit code 1.
ci_setup (ubuntu-latest, openstack)
Process completed with exit code 1.
build
Restore cache failed: Dependencies file is not found in /home/runner/work/forklift/forklift. Supported file pattern: go.sum

Artifacts

Produced during runtime
Name Size
openstack-k8s-forklift-logs Expired
196 KB
ova-k8s-forklift-logs Expired
186 KB
ovirt-k8s-forklift-logs Expired
229 KB
vsphere-k8s-forklift-logs Expired
189 KB