Skip to content

Commit

Permalink
Merge pull request kubernetes-sigs#692 from jklaw90/sliding-until
Browse files Browse the repository at this point in the history
NonSlidingUntil for deployment
  • Loading branch information
(Brien Dieterle) committed Jan 11, 2022
2 parents 99d78d3 + f539314 commit f000e1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/descheduler/descheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ func RunDeschedulerStrategies(ctx context.Context, rs *options.DeschedulerServer
ignorePvcPods = *deschedulerPolicy.IgnorePVCPods
}

wait.Until(func() {
wait.NonSlidingUntil(func() {
nodes, err := nodeutil.ReadyNodes(ctx, rs.Client, nodeInformer, nodeSelector)
if err != nil {
klog.V(1).InfoS("Unable to get ready nodes", "err", err)
Expand Down

0 comments on commit f000e1f

Please sign in to comment.