Skip to content

Commit

Permalink
namespace podnames nit
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 2f47e7b commit 2e9964c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controller/labelgroup_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ func (r *LabelGroupReconciler) Reconcile(ctx context.Context, req ctrl.Request)
printPodNames = append(printPodNames, pod.Name)
}

r.Logger.V(5).Info(fmt.Sprintf("[Reconcile] podNames: %s", strings.Join(printPodNames, ", ")))
r.Logger.V(5).Info(fmt.Sprintf("[Namespace] podNames: %s", strings.Join(printPodNames, ", ")))

if err != nil || len(podNames) == 0 || len(namespaceNames) == 0 {
r.Logger.V(0).Error(err, "[Reconcile] Couldn't get pods for the labels provided.")
Expand Down

0 comments on commit 2e9964c

Please sign in to comment.