Fix diff execution
This commit is contained in:
parent
81dde562e9
commit
754cc6a665
5 changed files with 27 additions and 31 deletions
|
|
@ -164,7 +164,7 @@ func TestGetNodeIP(t *testing.T) {
|
|||
}
|
||||
|
||||
for _, fk := range fKNodes {
|
||||
address := GetNodeIP(fk.cs, fk.n, fk.i)
|
||||
address := GetNodeIPOrName(fk.cs, fk.n, fk.i)
|
||||
if address != fk.ea {
|
||||
t.Errorf("expected %s, but returned %s", fk.ea, address)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue