DEP fixes (#513)

This commit is contained in:
Jesse Peterson
2018-09-26 10:40:08 -07:00
committed by GitHub
parent d150d031e8
commit 204834e70c
4 changed files with 26 additions and 14 deletions

View File

@@ -243,6 +243,7 @@ func serve(args []string) error {
command.RegisterHTTPHandlers(r, commandEndpoints, options...)
depsvc := depapi.New(dc, sm.PubClient)
depsvc.Run()
depEndpoints := depapi.MakeServerEndpoints(depsvc, basicAuthEndpointMiddleware)
depapi.RegisterHTTPHandlers(r, depEndpoints, options...)