Skip to content

Commit

Permalink
Merge pull request #692 from jklaw90/sliding-until
Browse files Browse the repository at this point in the history
NonSlidingUntil for deployment
  • Loading branch information
k8s-ci-robot authored Jan 11, 2022
2 parents 13abbe7 + 77cb406 commit 796f347
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 796f347

Please sign in to comment.