From 5fe199b4449eea1f14739791519d91afac6fcc9f Mon Sep 17 00:00:00 2001 From: Nick Sardo Date: Tue, 18 Apr 2017 11:43:39 -0700 Subject: [PATCH] Minor fix to typing --- controllers/gce/backends/backends.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/gce/backends/backends.go b/controllers/gce/backends/backends.go index 8cdb65cf4..f6e700557 100644 --- a/controllers/gce/backends/backends.go +++ b/controllers/gce/backends/backends.go @@ -427,6 +427,6 @@ func applyProbeSettingsToHC(p *api_v1.Probe, hc *healthchecks.HealthCheck) { hc.RequestPath = healthPath hc.Host = p.Handler.HTTPGet.Host hc.Description = "Kubernetes L7 health check generated with readiness probe settings." - hc.CheckIntervalSec = int64(p.PeriodSeconds + healthchecks.DefaultHealthCheckInterval) + hc.CheckIntervalSec = int64(p.PeriodSeconds) + int64(healthchecks.DefaultHealthCheckInterval.Seconds()) hc.TimeoutSec = int64(p.TimeoutSeconds) }