Update konnect to IljaN/konnect v0.29.0-alpha2

This commit is contained in:
Ilja Neumann
2020-02-11 17:47:34 +01:00
parent 05b45e4802
commit b9cab5773d
4 changed files with 13 additions and 10 deletions
+3 -2
View File
@@ -41,8 +41,9 @@ func NewService(opts ...Option) Service {
logger.Fatal().Err(err).Msg("Could not bootstrap konnectd")
}
routes := []server.WithRoutes{bs.Managers.Must("identity").(server.WithRoutes)}
handlers := bs.Managers.Must("handler").(http.Handler)
managers := bs.Managers()
routes := []server.WithRoutes{managers.Must("identity").(server.WithRoutes)}
handlers := managers.Must("handler").(http.Handler)
return Konnectd{
config: options.Config,