Skip to content

Commit

Permalink
labelgroup logger
Browse files Browse the repository at this point in the history
Signed-off-by: MohammedAbdi <[email protected]>
  • Loading branch information
mamy-CS committed Jun 14, 2024
1 parent bb3ceb7 commit 0c6fda0
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.0.18
0.0.19
2 changes: 2 additions & 0 deletions internal/controller/resource_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 0c6fda0

Please sign in to comment.