Added a note about backward compatibility

This commit is contained in:
Diptanu Choudhury
2016-03-23 19:08:07 -07:00
parent 408fea015d
commit b9972856e5
2 changed files with 2 additions and 0 deletions

View File

@@ -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

View File

@@ -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