address comment
This commit is contained in:
Родитель
a1d5a079c2
Коммит
4e356fcc56
|
@ -67,7 +67,7 @@ func TestHomeAzMonitor(t *testing.T) {
|
|||
return []string{GetHomeAzAPIName}, nil
|
||||
},
|
||||
GetHomeAzF: func(_ context.Context) (nmagent.AzResponse, error) {
|
||||
return nmagent.AzResponse{HomeAz: uint(1), APIVersion: uint(3)}, nil
|
||||
return nmagent.AzResponse{HomeAz: uint(1), APIVersion: uint(1)}, nil
|
||||
},
|
||||
},
|
||||
cns.HomeAzResponse{IsSupported: true},
|
||||
|
|
|
@ -50,7 +50,7 @@ func (az AzResponse) Valid() bool {
|
|||
|
||||
func (az AzResponse) NmaAppliedTheIPV6Fix() bool {
|
||||
//nolint:gomnd // this magic number is made by nma design
|
||||
return az.APIVersion == 2
|
||||
return az.APIVersion >= 2
|
||||
}
|
||||
|
||||
type NodeIP struct {
|
||||
|
|
Загрузка…
Ссылка в новой задаче