Use first index for ports
This commit is contained in:
parent
5641af437e
commit
85a20b9a39
4 changed files with 24 additions and 11 deletions
|
@ -95,7 +95,7 @@ func TestMesosTaskFilter(t *testing.T) {
|
|||
setLabels("traefik.enable", "true"),
|
||||
discovery(setDiscoveryPorts("TCP", 80, "WEB HTTP", "TCP", 443, "WEB HTTPS")),
|
||||
),
|
||||
expected: false, // more than 1 discovery port but no traefik.port* label
|
||||
expected: true, // Default to first index
|
||||
exposedByDefault: true,
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue