Merge pull request #8692 from filecoin-project/feat/health-endpoints

feat: networking: add healthz and livez endpoints
This commit is contained in:
Łukasz Magiera
2022-05-30 15:42:06 +02:00
committed by GitHub
5 changed files with 128 additions and 6 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")
}