1
0
Fork 0

Fix: error pages

This commit is contained in:
Ludovic Fernandez 2018-04-11 13:54:03 +02:00 committed by Traefiker Bot
parent f804053736
commit c99266e961
20 changed files with 751 additions and 553 deletions

View file

@ -179,12 +179,12 @@ func TestProviderBuildConfiguration(t *testing.T) {
"foo": {
Status: []string{"404"},
Query: "foo_query",
Backend: "foobar",
Backend: "backend-foobar",
},
"bar": {
Status: []string{"500", "600"},
Query: "bar_query",
Backend: "foobar",
Backend: "backend-foobar",
},
},
RateLimit: &types.RateLimit{
@ -371,12 +371,12 @@ func TestProviderBuildConfiguration(t *testing.T) {
Errors: map[string]*types.ErrorPage{
"bar": {
Status: []string{"500", "600"},
Backend: "foobar",
Backend: "backend-foobar",
Query: "bar_query",
},
"foo": {
Status: []string{"404"},
Backend: "foobar",
Backend: "backend-foobar",
Query: "foo_query",
},
},