Uses both binded HostIP and HostPort when useBindPortIP=true
This commit is contained in:
parent
853be929bc
commit
d50b6a34bc
6 changed files with 279 additions and 21 deletions
|
@ -667,7 +667,7 @@ func TestSwarmGetIPAddressV1(t *testing.T) {
|
|||
SwarmMode: true,
|
||||
}
|
||||
|
||||
actual := provider.getIPAddress(dData)
|
||||
actual := provider.getDeprecatedIPAddress(dData)
|
||||
if actual != test.expected {
|
||||
t.Errorf("expected %q, got %q", test.expected, actual)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue