add healthz and livez endpoints

This commit is contained in:
Cory Schwartz
2022-05-20 18:38:17 -07:00
parent effee8ce1f
commit 444d0b1b8a
4 changed files with 91 additions and 5 deletions
+1 -1
View File
@@ -174,7 +174,7 @@ var runCmd = &cli.Command{
}
gwapi := gateway.NewNode(api, lookbackCap, waitLookback)
h, err := gateway.Handler(gwapi, serverOptions...)
h, err := gateway.Handler(gwapi, api, serverOptions...)
if err != nil {
return xerrors.Errorf("failed to set up gateway HTTP handler")
}