Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
rschalo committed Feb 24, 2025
1 parent 8753963 commit d6ab2b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controllers/provisioning/scheduling/scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ func (s *Scheduler) Solve(ctx context.Context, pods []*corev1.Pod) Results {
break
}

// the presence of a pod error will indicate to consolidation that not all pods could schedule
// when context has been canceled or deadline exceeded, stop attempting to schedule pods and mark current pod as unschedulable
if ctx.Err() != nil {
errors[pod] = ctx.Err()
break
Expand Down

0 comments on commit d6ab2b6

Please sign in to comment.