From 92b59fc8bf373f5a538e1da1ffd4aac43efd2c64 Mon Sep 17 00:00:00 2001 From: TigerXu Date: Tue, 15 Aug 2017 14:25:46 +0800 Subject: [PATCH 1/2] Update nginx.go --- 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 9f36d770c..7d689424e 100644 --- a/controllers/nginx/pkg/cmd/controller/nginx.go +++ b/controllers/nginx/pkg/cmd/controller/nginx.go @@ -401,7 +401,7 @@ func (n *NGINXController) UpdateIngressStatus(*extensions.Ingress) []api_v1.Load return nil } -// OnUpdate is called by syncQueue in https://github.com/aledbf/ingress-controller/blob/master/pkg/ingress/controller/controller.go#L82 +// OnUpdate is called by syncQueue in https://github.com/kubernetes/ingress/blob/master/core/pkg/ingress/controller/controller.go#L426 // periodically to keep the configuration in sync. // // convert configmap to custom configuration object (different in each implementation) From 2af727a33e9460d9e6184d2faec420c4236af6de Mon Sep 17 00:00:00 2001 From: TigerXu Date: Tue, 15 Aug 2017 15:14:08 +0800 Subject: [PATCH 2/2] Update nginx.go fix typo --- 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 7d689424e..21e32157d 100644 --- a/controllers/nginx/pkg/cmd/controller/nginx.go +++ b/controllers/nginx/pkg/cmd/controller/nginx.go @@ -464,7 +464,7 @@ func (n *NGINXController) OnUpdate(ingressCfg ingress.Configuration) error { n.setupMonitor(defaultStatusModule) } - // NGINX cannot resize the has tables used to store server names. + // NGINX cannot resize the hash tables used to store server names. // For this reason we check if the defined size defined is correct // for the FQDN defined in the ingress rules adjusting the value // if is required.