We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 90301c2 commit a1d5a07Copy full SHA for a1d5a07
nmagent/responses.go
@@ -44,10 +44,12 @@ type AzResponse struct {
44
45
func (az AzResponse) Valid() bool {
46
// 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
48
return az.APIVersion == 0 || az.APIVersion == 2
49
}
50
51
func (az AzResponse) NmaAppliedTheIPV6Fix() bool {
52
+ //nolint:gomnd // this magic number is made by nma design
53
return az.APIVersion == 2
54
55
0 commit comments