Use pointer of error pages

This commit is contained in:
Ludovic Fernandez 2017-12-21 11:26:03 +01:00 committed by Traefiker
parent 4a7297d05c
commit 59549d5f39
4 changed files with 20 additions and 18 deletions

View file

@ -213,7 +213,7 @@ func TestDockerBuildConfiguration(t *testing.T) {
Rule: "Host:test1.docker.localhost",
},
},
Errors: map[string]types.ErrorPage{
Errors: map[string]*types.ErrorPage{
"foo": {
Status: []string{"404"},
Query: "foo_query",