Skip to content
This repository has been archived by the owner on Dec 16, 2020. It is now read-only.

Commit

Permalink
Add health endpoint back
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Ellis (OpenFaaS Ltd) <[email protected]>
  • Loading branch information
alexellis committed Oct 24, 2019
1 parent 25d1683 commit ce9b2ee
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server.go → main.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ func main() {

funcProxyHandler := handlers.NewFunctionLookup(dockerClient, cfg.DNSRoundRobin)

cfg.FaaSConfig.EnableHealth = true // Needed due to breaking change in #534

bootstrapHandlers := bootTypes.FaaSHandlers{
DeleteHandler: handlers.DeleteHandler(dockerClient),
DeployHandler: handlers.DeployHandler(dockerClient, maxRestarts, restartDelay),
Expand Down

0 comments on commit ce9b2ee

Please sign in to comment.