We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2feb060 commit a4523ecCopy full SHA for a4523ec
scheduler/scheduler_system.go
@@ -339,7 +339,9 @@ func (s *SystemScheduler) computeJobAllocs() error {
339
// Initially, if the job requires canaries, we place all of them on all
340
// eligible nodes. At this point we know which nodes are feasible, so we
341
// evict unnedded canaries.
342
- s.evictCanaries(s.job, s.nodes, r)
+ if err := s.evictCanaries(s.job, s.nodes, r); err != nil {
343
+ return fmt.Errorf("failed to evict canaries for job '%s': %v", s.eval.JobID, err)
344
+ }
345
346
// Nothing remaining to do if placement is not required
347
if len(r.Place) == 0 {
0 commit comments