Skip to content

Commit 1a19db2

Browse files
committed
chore: mark CAPI v1beta1 as known-deprecated in golangci
1 parent 405a8bf commit 1a19db2

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.golangci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,12 @@ linters:
132132
text: (Expect directory permissions to be 0750 or less|Expect file permissions to be 0600 or less)
133133
- path: (.+)\.go$
134134
text: (G104|G307)
135+
136+
# Temporary exclusion during upgrade from CAPI 1.10 to CAPI 1.11
137+
- linters:
138+
- staticcheck
139+
text: 'SA1019: .* This package is deprecated and is going to be removed when support for v1beta1 will be dropped'
140+
135141
paths:
136142
- zz_generated.*\.go$
137143
- .*conversion.*\.go$

0 commit comments

Comments
 (0)