gofmt 2 files.

This commit is contained in:
smruthi2187
2018-02-08 13:58:44 -08:00
parent ce110a8dff
commit 1bf38cbca6
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -128,7 +128,7 @@ func (api *API) ApiVersionMismatchHandler(w http.ResponseWriter, r *http.Request
api.respondWithError(w, err) 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) w.WriteHeader(http.StatusOK)
} }
+2 -2
View File
@@ -519,7 +519,7 @@ func (gp *GenericPool) createPool() error {
"-secret-dir", gp.sharedSecretPath, "-secret-dir", gp.sharedSecretPath,
"-cfgmap-dir", gp.sharedCfgMapPath, "-cfgmap-dir", gp.sharedCfgMapPath,
gp.sharedMountPath}, gp.sharedMountPath},
ReadinessProbe: &apiv1.Probe { ReadinessProbe: &apiv1.Probe{
InitialDelaySeconds: 5, InitialDelaySeconds: 5,
PeriodSeconds: 2, PeriodSeconds: 2,
Handler: apiv1.Handler{ Handler: apiv1.Handler{
@@ -532,7 +532,7 @@ func (gp *GenericPool) createPool() error {
}, },
}, },
}, },
LivenessProbe: &apiv1.Probe { LivenessProbe: &apiv1.Probe{
InitialDelaySeconds: 5, InitialDelaySeconds: 5,
PeriodSeconds: 5, PeriodSeconds: 5,
Handler: apiv1.Handler{ Handler: apiv1.Handler{