Skip to content

Commit 28c6725

Browse files
authored
Merge pull request #138 from caiyixiang/const-reference
reference to const
2 parents e55d13d + 5131b76 commit 28c6725

File tree

1 file changed

+1
-1
lines changed
  • controllers/nginx/pkg/cmd/controller

1 file changed

+1
-1
lines changed

controllers/nginx/pkg/cmd/controller/nginx.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ func (n NGINXController) OnUpdate(cmap *api.ConfigMap, ingressCfg ingress.Config
295295
Servers: ingressCfg.Servers,
296296
TCPBackends: ingressCfg.TCPEndpoints,
297297
UDPBackends: ingressCfg.UPDEndpoints,
298-
HealthzURI: "/healthz",
298+
HealthzURI: ngxHealthPath,
299299
CustomErrors: len(cfg.CustomHTTPErrors) > 0,
300300
Cfg: cfg,
301301
}, n.testTemplate)

0 commit comments

Comments
 (0)