Skip to content

Commit 0131950

Browse files
authored
chore(instance): fix linter for deprecated fields (#3774)
1 parent 74768f1 commit 0131950

File tree

1 file changed

+15
-1
lines changed

1 file changed

+15
-1
lines changed

.golangci.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,21 @@ issues:
6161
- path: internal/namespaces/instance
6262
linters:
6363
- staticcheck
64-
text: "SA1019:.*Organization"
64+
text: "SA1019:.*(Organization)"
65+
66+
# Instance Public IP is mark as deprecated in the SDK
67+
# This rule ignore this deprecation
68+
- path: internal/namespaces
69+
linters:
70+
- staticcheck
71+
text: "SA1019:.*PublicIP is deprecated.*"
72+
73+
# Instance Public IP is mark as deprecated in the SDK
74+
# This rule ignore this deprecation
75+
- path: internal/namespaces/instance
76+
linters:
77+
- staticcheck
78+
text: "SA1019:.*\\.IPv6.*"
6579

6680
- path: internal/tabwriter
6781
linters:

0 commit comments

Comments
 (0)