gofmt 2 files.
This commit is contained in:
+1
-1
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user