Skip to content

Commit a1d5a07

Browse files
committed
fix lint
1 parent 90301c2 commit a1d5a07

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

nmagent/responses.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,12 @@ type AzResponse struct {
4444

4545
func (az AzResponse) Valid() bool {
4646
// 0 should be valid when NMA version is old and does not have the apiVersion value in home az response
47+
//nolint:gomnd // these magic numbers are made by nma design
4748
return az.APIVersion == 0 || az.APIVersion == 2
4849
}
4950

5051
func (az AzResponse) NmaAppliedTheIPV6Fix() bool {
52+
//nolint:gomnd // this magic number is made by nma design
5153
return az.APIVersion == 2
5254
}
5355

0 commit comments

Comments
 (0)