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
|
@ -898,7 +898,7 @@ func TestDockerGetIPAddressV1(t *testing.T) {
|
|||
t.Parallel()
|
||||
dData := parseContainer(test.container)
|
||||
provider := &Provider{}
|
||||
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