Skip to content

ci: Enable copyloopvar in linter #17533

ci: Enable copyloopvar in linter

ci: Enable copyloopvar in linter #17533

Triggered via pull request August 21, 2024 22:14
Status Failure
Total duration 4m 16s
Artifacts

ci.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
ci: test/pkg/environment/common/monitor.go#L136
The copy of the 'for' variable "pod" can be deleted (Go 1.22+) (copyloopvar)
ci: test/pkg/environment/common/monitor.go#L155
The copy of the 'for' variable "pod" can be deleted (Go 1.22+) (copyloopvar)
ci: pkg/providers/instancetype/suite_test.go#L2498
The copy of the 'for' variable "o" can be deleted (Go 1.22+) (copyloopvar)
ci
Process completed with exit code 2.
ci
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2