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
|
@ -933,7 +933,7 @@ func TestSwarmGetIPAddress(t *testing.T) {
|
|||
segmentProperties := label.ExtractTraefikLabels(dData.Labels)
|
||||
dData.SegmentLabels = segmentProperties[""]
|
||||
|
||||
actual := provider.getIPAddress(dData)
|
||||
actual := provider.getDeprecatedIPAddress(dData)
|
||||
assert.Equal(t, test.expected, actual)
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue