Skip to content

Commit

Permalink
updated until -> sliding until
Browse files Browse the repository at this point in the history
  • Loading branch information
jklaw90 committed Jan 6, 2022
1 parent 2d9143d commit 77cb406
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 77cb406

Please sign in to comment.