From 49d9872a546d62f6ffa37a276dffb64c90a9724d Mon Sep 17 00:00:00 2001 From: Shubham Chauhan Date: Tue, 13 Dec 2022 01:32:10 +0530 Subject: [PATCH] fix status subscriber shutdown log Signed-off-by: Shubham Chauhan --- internal/provider/kubernetes/controller.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/internal/provider/kubernetes/controller.go b/internal/provider/kubernetes/controller.go index 95548ee657..2d496ffc31 100644 --- a/internal/provider/kubernetes/controller.go +++ b/internal/provider/kubernetes/controller.go @@ -678,6 +678,7 @@ func (r *gatewayAPIReconciler) subscribeAndUpdateStatus(ctx context.Context) { }) }, ) + r.log.Info("gateway status subscriber shutting down") }() // HTTPRoute object status updater @@ -705,6 +706,7 @@ func (r *gatewayAPIReconciler) subscribeAndUpdateStatus(ctx context.Context) { }) }, ) + r.log.Info("httpRoute status subscriber shutting down") }() // TLSRoute object status updater @@ -732,7 +734,7 @@ func (r *gatewayAPIReconciler) subscribeAndUpdateStatus(ctx context.Context) { }) }, ) + r.log.Info("tlsRoute status subscriber shutting down") }() - r.log.Info("status subscriber shutting down") }