Skip to content

Commit 3c2f8f7

Browse files
iQQBotkylos101
andauthored
Update components/node-labeler/cmd/run.go
Co-authored-by: Kyle Brennan <[email protected]>
1 parent 049bfe8 commit 3c2f8f7

File tree

1 file changed

+1
-1
lines changed
  • components/node-labeler/cmd

1 file changed

+1
-1
lines changed

components/node-labeler/cmd/run.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ func (r *NodeReconciler) Reconcile(ctx context.Context, req reconcile.Request) (
376376
"spec.nodeName": node.Name,
377377
})
378378
if err != nil {
379-
return reconcile.Result{}, fmt.Errorf("listing pods: %w", err)
379+
return reconcile.Result{}, fmt.Errorf("cannot list pods: %w", err)
380380
}
381381
err = updateNodeLabel(node.Name, r.Client)
382382
if err != nil {

0 commit comments

Comments
 (0)