mirror of
https://github.com/coreos/prometheus-operator.git
synced 2026-02-05 15:46:31 +01:00
chore: mark deprecated fields correctly
This change ensures that deprecated CRD fields are properly commented which make them reported by Go linters. Signed-off-by: Simon Pasquier <spasquie@redhat.com>
This commit is contained in:
@@ -9,6 +9,7 @@ linters:
|
||||
|
||||
issues:
|
||||
exclude-rules:
|
||||
# Disable errcheck linter for test files.
|
||||
- path: _test.go
|
||||
linters:
|
||||
- errcheck
|
||||
@@ -30,4 +31,4 @@ linters-settings:
|
||||
forbid-pkg-errors:
|
||||
deny:
|
||||
- pkg: "github.com/pkg/errors"
|
||||
dsc: Should be replaced with standard lib errors or fmt.Errorf
|
||||
dsc: Should be replaced with standard lib errors or fmt.Errorf
|
||||
|
||||
Reference in New Issue
Block a user