Skip to content

Commit

Permalink
test2
Browse files Browse the repository at this point in the history
Signed-off-by: Aleksandr Zimin <alexandr.zimin@flant.com>
  • Loading branch information
AleksZimin committed Jan 30, 2025
1 parent 65ab81d commit 0b0dea4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions images/controller/src/pkg/controller/node_selector_reconciler.go
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,11 @@ func ReconcileNodeSelector(ctx context.Context, cl client.Client, clusterWideCli

for _, node := range selectedNodes.Items {
log.Info(fmt.Sprintf("[reconcileNodeSelector] Process labels for node: %s", node.Name))
err := AddLabelsToNodeIfNeeded(ctx, cl, log, node, nfsNodeLabels)
if err != nil {
err = fmt.Errorf("[reconcileNodeSelector] Failed add labels %+v to node: %s: %w", nfsNodeLabels, node.Name, err)
return err
}
// err := AddLabelsToNodeIfNeeded(ctx, cl, log, node, nfsNodeLabels)
// if err != nil {
// err = fmt.Errorf("[reconcileNodeSelector] Failed add labels %+v to node: %s: %w", nfsNodeLabels, node.Name, err)
// return err
// }
}
}

Expand Down

0 comments on commit 0b0dea4

Please sign in to comment.