From bfec923835803b21395cd30f93cd90f6ce67b11c Mon Sep 17 00:00:00 2001 From: zvlb Date: Thu, 29 Feb 2024 18:36:30 +0200 Subject: [PATCH] fix commits Signed-off-by: zvlb --- internal/ingress/controller/controller.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/internal/ingress/controller/controller.go b/internal/ingress/controller/controller.go index bbf765e55..e669c2313 100644 --- a/internal/ingress/controller/controller.go +++ b/internal/ingress/controller/controller.go @@ -163,7 +163,7 @@ func (n *NGINXController) GetPublishService() *apiv1.Service { return s } -// syncIngress collects all the pieces required to assemble the NGINX (without TCP and UPD Endpoints) +// syncIngress collects all the pieces required to assemble the NGINX // configuration file and passes the resulting data structures to the backend // (OnUpdate) when a reload is deemed necessary. func (n *NGINXController) syncIngress(interface{}) error { @@ -259,7 +259,8 @@ func (n *NGINXController) syncIngress(interface{}) error { return nil } -// syncEndpoints collects and update only TCP and UDP Endpoints for NGINX +// syncEndpoints collects and update only Dynamic configs +// Triggered for Endpoints changes func (n *NGINXController) syncEndpoints(interface{}) error { n.syncRateLimiter.Accept()