Skip to content

Commit

Permalink
Update components/node-labeler/cmd/run.go
Browse files Browse the repository at this point in the history
Co-authored-by: Kyle Brennan <[email protected]>
  • Loading branch information
iQQBot and kylos101 authored Mar 11, 2025
1 parent 049bfe8 commit 3c2f8f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/node-labeler/cmd/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ func (r *NodeReconciler) Reconcile(ctx context.Context, req reconcile.Request) (
"spec.nodeName": node.Name,
})
if err != nil {
return reconcile.Result{}, fmt.Errorf("listing pods: %w", err)
return reconcile.Result{}, fmt.Errorf("cannot list pods: %w", err)
}
err = updateNodeLabel(node.Name, r.Client)
if err != nil {
Expand Down

0 comments on commit 3c2f8f7

Please sign in to comment.