Skip to content

Commit

Permalink
Merge pull request #181 from xiekeyang/health-check
Browse files Browse the repository at this point in the history
Fix HTTP handler of health checking
  • Loading branch information
erwinvaneyk authored Aug 7, 2018
2 parents 41e17e3 + 889194f commit 6145e06
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/fnenv/fission/envproxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ func NewFissionProxyServer(wfiSrv apiserver.WorkflowInvocationAPIServer, wfSrv a
func (fp *Proxy) RegisterServer(mux *http.ServeMux) {
mux.HandleFunc("/", fp.handleRequest)
mux.HandleFunc("/v2/specialize", fp.handleSpecialize)
mux.HandleFunc("/healthz", fp.handleSpecialize)
mux.HandleFunc("/healthz", fp.handleHealthCheck)
}

func (fp *Proxy) handleHealthCheck(w http.ResponseWriter, r *http.Request) {
Expand Down

0 comments on commit 6145e06

Please sign in to comment.