Skip to content

Commit c5f1f96

Browse files
committed
Add exclude for deprecation of client.Apply
Signed-off-by: Stefan Büringer [email protected]
1 parent e5e66a6 commit c5f1f96

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.golangci.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,11 @@ linters:
269269
- linters:
270270
- staticcheck
271271
text: 'SA1019: .*(res|result|i|j)\.Requeue is deprecated: Use `RequeueAfter` instead'
272-
# TODO: var-naming: avoid meaningless package names by revive
272+
# CR v0.22 deprecated client.Apply, will be fixed via: https://github.com/kubernetes-sigs/cluster-api/issues/12695
273+
- linters:
274+
- staticcheck
275+
text: 'SA1019: client.Apply is deprecated: Use client.Client.Apply'
276+
# TODO: var-naming: avoid meaningless package names by revive
273277
# * test/infrastructure/docker/internal/docker/types/
274278
# * bootstrap/kubeadm/types/
275279
# * internal/webhooks/util/

0 commit comments

Comments
 (0)