Skip to content

Commit

Permalink
worker comment system -> core
Browse files Browse the repository at this point in the history
  • Loading branch information
langmartin committed Jul 18, 2019
1 parent 5ee4ffb commit cdaec89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nomad/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ func (w *Worker) invokeScheduler(snap *state.StateSnapshot, eval *structs.Evalua
return fmt.Errorf("failed to determine snapshot's index: %v", err)
}

// Create the scheduler, or use the special system scheduler
// Create the scheduler, or use the special core scheduler
var sched scheduler.Scheduler
if eval.Type == structs.JobTypeCore {
sched = NewCoreScheduler(w.srv, snap)
Expand Down

0 comments on commit cdaec89

Please sign in to comment.