diff --git a/controller/api.go b/controller/api.go index d890cb18..00bdd150 100644 --- a/controller/api.go +++ b/controller/api.go @@ -128,7 +128,7 @@ func (api *API) ApiVersionMismatchHandler(w http.ResponseWriter, r *http.Request api.respondWithError(w, err) } -func (api *API) HealthHandler (w http.ResponseWriter, r *http.Request) { +func (api *API) HealthHandler(w http.ResponseWriter, r *http.Request) { w.WriteHeader(http.StatusOK) } diff --git a/executor/poolmgr/gp.go b/executor/poolmgr/gp.go index cf07e3dd..f796e59b 100644 --- a/executor/poolmgr/gp.go +++ b/executor/poolmgr/gp.go @@ -519,7 +519,7 @@ func (gp *GenericPool) createPool() error { "-secret-dir", gp.sharedSecretPath, "-cfgmap-dir", gp.sharedCfgMapPath, gp.sharedMountPath}, - ReadinessProbe: &apiv1.Probe { + ReadinessProbe: &apiv1.Probe{ InitialDelaySeconds: 5, PeriodSeconds: 2, Handler: apiv1.Handler{ @@ -532,7 +532,7 @@ func (gp *GenericPool) createPool() error { }, }, }, - LivenessProbe: &apiv1.Probe { + LivenessProbe: &apiv1.Probe{ InitialDelaySeconds: 5, PeriodSeconds: 5, Handler: apiv1.Handler{