Skip to content

Commit

Permalink
operator/operator_controller: remove redundant logic introduced by #6427
Browse files Browse the repository at this point in the history


Signed-off-by: Shirly <[email protected]>
  • Loading branch information
AndreMouche committed Oct 12, 2024
1 parent 982fa22 commit 8d24334
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/schedule/operator/operator_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -465,10 +465,6 @@ func (oc *Controller) checkAddOperator(isPromoting bool, ops ...*Operator) (bool
operatorCounter.WithLabelValues(op.Desc(), "exceed-max-waiting").Inc()
return false, ExceedWaitLimit
}

if op.SchedulerKind() == OpAdmin || op.IsLeaveJointStateOperator() {
continue
}
}
var reason CancelReasonType
for _, op := range ops {
Expand Down

0 comments on commit 8d24334

Please sign in to comment.