diff --git a/scheduler/generic_sched.go b/scheduler/generic_sched.go index 72095bf34..98155ed6c 100644 --- a/scheduler/generic_sched.go +++ b/scheduler/generic_sched.go @@ -353,6 +353,7 @@ func (s *GenericScheduler) computePlacements(place []allocTuple) error { // Set fields based on if we found an allocation option if option != nil { // Generate service IDs tasks in this allocation + // COMPAT - This is no longer required and would be removed in v0.4 alloc.PopulateServiceIDs(missing.TaskGroup) alloc.NodeID = option.Node.ID diff --git a/scheduler/system_sched.go b/scheduler/system_sched.go index 34b1bcc18..2b803ba2c 100644 --- a/scheduler/system_sched.go +++ b/scheduler/system_sched.go @@ -254,6 +254,7 @@ func (s *SystemScheduler) computePlacements(place []allocTuple) error { // Set fields based on if we found an allocation option if option != nil { // Generate service IDs tasks in this allocation + // COMPAT - This is no longer required and would be removed in v0.4 alloc.PopulateServiceIDs(missing.TaskGroup) alloc.NodeID = option.Node.ID