fix lint
This commit is contained in:
Родитель
90301c25df
Коммит
a1d5a079c2
|
@ -44,10 +44,12 @@ type AzResponse struct {
|
|||
|
||||
func (az AzResponse) Valid() bool {
|
||||
// 0 should be valid when NMA version is old and does not have the apiVersion value in home az response
|
||||
//nolint:gomnd // these magic numbers are made by nma design
|
||||
return az.APIVersion == 0 || az.APIVersion == 2
|
||||
}
|
||||
|
||||
func (az AzResponse) NmaAppliedTheIPV6Fix() bool {
|
||||
//nolint:gomnd // this magic number is made by nma design
|
||||
return az.APIVersion == 2
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче