1
0
Fork 0

Server weight zero

This commit is contained in:
Ludovic Fernandez 2018-04-11 16:30:04 +02:00 committed by Traefiker Bot
parent edbcd01fbc
commit 8168d2fdc1
84 changed files with 378 additions and 273 deletions

View file

@ -602,17 +602,17 @@ func TestGetFuncString(t *testing.T) {
}{
{
labels: nil,
labelName: TraefikWeight,
defaultValue: DefaultWeight,
expected: "0",
labelName: TraefikProtocol,
defaultValue: DefaultProtocol,
expected: "http",
},
{
labels: map[string]string{
TraefikWeight: "10",
TraefikProtocol: "https",
},
labelName: TraefikWeight,
defaultValue: DefaultWeight,
expected: "10",
labelName: TraefikProtocol,
defaultValue: DefaultProtocol,
expected: "https",
},
}