Skip to content

Commit 2810d4d

Browse files
committed
Update golangci-lint config for mgr.GetEventRecorderFor deprecation
Silence the static check linter until comprehensive update is developed.
1 parent 605d69a commit 2810d4d

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.golangci.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,11 @@ linters:
179179
text: >-
180180
deprecated: Use `RequeueAfter` instead
181181
182+
- linters: [staticcheck]
183+
path: (internal/controller/(postgrescluster|pgupgrade|standalone_pgadmin))|(cmd/postgres-operator)
184+
text: >-
185+
GetEventRecorderFor is deprecated
186+
182187
# https://golangci-lint.run/usage/formatters
183188
formatters:
184189
enable:

0 commit comments

Comments
 (0)