Minor fix to typing

This commit is contained in:
Nick Sardo 2017-04-18 11:43:39 -07:00
parent 04af2439b5
commit 5fe199b444

View file

@ -427,6 +427,6 @@ func applyProbeSettingsToHC(p *api_v1.Probe, hc *healthchecks.HealthCheck) {
hc.RequestPath = healthPath hc.RequestPath = healthPath
hc.Host = p.Handler.HTTPGet.Host hc.Host = p.Handler.HTTPGet.Host
hc.Description = "Kubernetes L7 health check generated with readiness probe settings." 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) hc.TimeoutSec = int64(p.TimeoutSeconds)
} }