Tidy up Go codebase #3489
Annotations
10 errors
Run golangci-lint:
runner/internal/repo/manager.go#L75
comparing with != will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
|
Run golangci-lint:
runner/internal/repo/manager.go#L109
comparing with != will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
|
Run golangci-lint:
runner/internal/executor/executor.go#L308
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
|
Run golangci-lint:
runner/internal/executor/executor.go#L317
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
Run golangci-lint:
runner/internal/metrics/metrics.go#L67
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
Run golangci-lint:
runner/internal/metrics/metrics.go#L75
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
Run golangci-lint:
runner/internal/shim/docker.go#L763
comparing with != will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
|
Run golangci-lint:
runner/internal/shim/docker.go#L856
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
|
Run golangci-lint:
runner/internal/shim/gpu.go#L82
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
|
Run golangci-lint:
runner/internal/shim/docker.go#L657
missing cases in switch of type shim.GpuVendor: shim.NoVendor (exhaustive)
|
Loading