From 0c6fda0636dbf6a1ca9f02b601b3bc14c82471b1 Mon Sep 17 00:00:00 2001 From: MohammedAbdi Date: Fri, 14 Jun 2024 13:41:50 -0400 Subject: [PATCH] labelgroup logger Signed-off-by: MohammedAbdi --- VERSION | 2 +- internal/controller/resource_manager.go | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 32786aa..44517d5 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.0.18 +0.0.19 diff --git a/internal/controller/resource_manager.go b/internal/controller/resource_manager.go index 3a5ebf9..67c7ad3 100644 --- a/internal/controller/resource_manager.go +++ b/internal/controller/resource_manager.go @@ -31,6 +31,8 @@ func (r *LabelGroupReconciler) GetPodNamesMatchingLabels(ctx context.Context, la pods := &v1.PodList{} r.Logger.V(5).Info(fmt.Sprintf("[GetPodNamesMatchingLabels] pods: %#v", pods)) + r.Logger.V(5).Info(fmt.Sprintf("[LabelGroup] pods: %#v", labelGroup)) + if err := r.List(ctx, pods, client.UnsafeDisableDeepCopy, (client.MatchingLabels)(labelGroup.Status.KubernetesLabels)); err != nil { return nil, nil, err }