fix after review

This commit is contained in:
Julien Salleyron 2017-01-31 22:55:02 +01:00
parent 99ffc26d40
commit 755822bf14
3 changed files with 28 additions and 23 deletions

View file

@ -745,7 +745,7 @@ func (server *Server) loadConfig(configurations configs, globalConfiguration Glo
}
}
}
healthcheck.GetHealthCheck().SetBackendsConfiguration(backendsHealthcheck)
healthcheck.GetHealthCheck().SetBackendsConfiguration(backendsHealthcheck, server.routinesPool.Ctx())
middlewares.SetBackend2FrontendMap(&backend2FrontendMap)
//sort routes
for _, serverEntryPoint := range serverEntryPoints {