fix variable name

This commit is contained in:
Ted Yu
2019-02-13 19:46:17 -08:00
committed by Ted Yu
parent a346460c08
commit 4031900c0c

View File

@@ -388,7 +388,7 @@ func nodeAddressesChangeDetected(addressSet1, addressSet2 []v1.NodeAddress) bool
}
for _, v := range addressSet2 {
if addressMap2[v.Type] != v.Address {
if addressMap1[v.Type] != v.Address {
return true
}
}