From 5131b76fe514181c8ed2a17bc33204c0eaf05f79 Mon Sep 17 00:00:00 2001 From: caiyixiang Date: Wed, 18 Jan 2017 11:29:59 +0800 Subject: [PATCH] const-reference --- controllers/nginx/pkg/cmd/controller/nginx.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/nginx/pkg/cmd/controller/nginx.go b/controllers/nginx/pkg/cmd/controller/nginx.go index cd9d48a793..e45cfdaea8 100644 --- a/controllers/nginx/pkg/cmd/controller/nginx.go +++ b/controllers/nginx/pkg/cmd/controller/nginx.go @@ -295,7 +295,7 @@ func (n NGINXController) OnUpdate(cmap *api.ConfigMap, ingressCfg ingress.Config Servers: ingressCfg.Servers, TCPBackends: ingressCfg.TCPEndpoints, UDPBackends: ingressCfg.UPDEndpoints, - HealthzURI: "/healthz", + HealthzURI: ngxHealthPath, CustomErrors: len(cfg.CustomHTTPErrors) > 0, Cfg: cfg, }, n.testTemplate)