Skip to content

Commit

Permalink
operator v1: remove obsolete log line
Browse files Browse the repository at this point in the history
this slipped through my own and PR review. it's an obsolete debug log
from development, it should not be part of production code.
  • Loading branch information
birdayz committed Nov 20, 2024
1 parent 942191b commit 7d0542f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions operator/pkg/resources/statefulset.go
Original file line number Diff line number Diff line change
Expand Up @@ -424,10 +424,8 @@ func (r *StatefulSetResource) obj(

var nodePoolSelector *metav1.LabelSelector
if canAddNodePoolToSelector {
log.Info("!! can add np label")
nodePoolSelector = nodePoolLabels.AsAPISelectorForNodePool()
} else {
log.Info("!! CANNOT add np label")
nodePoolSelector = clusterLabels.AsAPISelector()
}

Expand Down

0 comments on commit 7d0542f

Please sign in to comment.