Exclude rules golangci revive lint #944
Annotations
7 errors and 1 warning
Linting:
pkg/config/config.go#L35
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
|
Linting:
cmd/main.go#L96
comparing with == will fail on wrapped errors. Use errors.Is to check for a specific error (errorlint)
|
Linting:
plugins/handler/ceilometer-metrics/main_test.go#L40
non-wrapping format verb for fmt.Errorf. Use `%w` to format errors (errorlint)
|
Linting:
plugins/handler/sensubility-metrics/main.go#L104
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
|
Linting:
plugins/handler/sensubility-metrics/main_test.go#L206
type assertion on error will fail on wrapped errors. Use errors.As to check for specific errors (errorlint)
|
Linting
issues found
|
Unit tests
Process completed with exit code 1.
|
Linting
Restore cache failed: Dependencies file is not found in /home/runner/work/sg-core/sg-core. Supported file pattern: go.sum
|