Skip to content

handle older crds

handle older crds #256

Triggered via pull request February 7, 2025 07:43
Status Failure
Total duration 1m 32s
Artifacts

lint-and-test.yaml

on: pull_request
detect-modules
13s
detect-modules
Matrix: golangci-lint
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 4 warnings
golangci-lint (/home/runner/work/elasti/elasti/pkg): pkg/scaling/scale_handler.go#L127
S1009: should omit nil check; len() for []truefoundry/elasti/operator/api/v1alpha1.ScaleTrigger is defined as zero (gosimple)
golangci-lint (/home/runner/work/elasti/elasti/pkg): pkg/scaling/scale_handler.go#L191
S1009: should omit nil check; len() for []truefoundry/elasti/operator/api/v1alpha1.ScaleTrigger is defined as zero (gosimple)
golangci-lint (/home/runner/work/elasti/elasti/operator)
The job was canceled because "_home_runner_work_elast_2" failed.
golangci-lint (/home/runner/work/elasti/elasti/operator)
The operation was canceled.
detect-modules
Restore cache failed: Dependencies file is not found in /home/runner/work/elasti/elasti. Supported file pattern: go.sum
golangci-lint (/home/runner/work/elasti/elasti/resolver)
Restore cache failed: Dependencies file is not found in /home/runner/work/elasti/elasti. Supported file pattern: go.sum
golangci-lint (/home/runner/work/elasti/elasti/pkg)
Restore cache failed: Dependencies file is not found in /home/runner/work/elasti/elasti. Supported file pattern: go.sum
golangci-lint (/home/runner/work/elasti/elasti/operator)
Restore cache failed: Dependencies file is not found in /home/runner/work/elasti/elasti. Supported file pattern: go.sum