Skip to content

Commit

Permalink
fix healthCheck
Browse files Browse the repository at this point in the history
  • Loading branch information
lghinet committed Nov 2, 2021
1 parent 33066a0 commit dafc03c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/rusid/sidecar.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,8 @@ func main() {
go startDiagnosticsServer(mainCtx, wg, cfg.AppID, cfg.DiagnosticsPort, cfg.EnableMetrics,
// WithTimeout allows you to set a max overall timeout.
healthcheck.WithTimeout(5*time.Second),
healthcheck.WithChecker("component manager", compManager))
healthcheck.WithChecker("component manager", compManager),
healthcheck.WithChecker("runtime", rt))

shutdownOnInterrupt(cancel)

Expand Down

0 comments on commit dafc03c

Please sign in to comment.