Skip to content

Commit 5b44ae3

Browse files
committed
Update golangci-lint config for mgr.GetEventRecorderFor deprecation
Silence the static check linter until comprehensive update is developed.
1 parent 0283679 commit 5b44ae3

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
@@ -184,6 +184,11 @@ linters:
184184
text: >-
185185
client.Apply is deprecated
186186
187+
- linters: [staticcheck]
188+
path: internal/controller/(postgrescluster|pgupgrade|standalone_pgadmin)
189+
text: >-
190+
GetEventRecorderFor is deprecated
191+
187192
# https://golangci-lint.run/usage/formatters
188193
formatters:
189194
enable:

0 commit comments

Comments
 (0)