File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
pkg/controllers/provisioning/scheduling Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,6 @@ package scheduling
19
19
import (
20
20
"bytes"
21
21
"context"
22
- "errors"
23
22
"fmt"
24
23
"sort"
25
24
"time"
@@ -212,12 +211,6 @@ func (r Results) ReservedOfferingErrors() map[*corev1.Pod]error {
212
211
})
213
212
}
214
213
215
- func (r Results ) ContextDeadlineExceededErrors () map [* corev1.Pod ]error {
216
- return lo .PickBy (r .PodErrors , func (_ * corev1.Pod , err error ) bool {
217
- return errors .Is (err , context .DeadlineExceeded )
218
- })
219
- }
220
-
221
214
// AllNonPendingPodsScheduled returns true if all pods scheduled.
222
215
// We don't care if a pod was pending before consolidation and will still be pending after. It may be a pod that we can't
223
216
// schedule at all and don't want it to block consolidation.
You can’t perform that action at this time.
0 commit comments