1
0
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:
Simon Pasquier
2023-12-08 10:14:57 +01:00
parent 0d5dd20f00
commit 59e824d2ce
27 changed files with 296 additions and 274 deletions

View File

@@ -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