mirror of
https://github.com/kemko/nomad.git
synced 2026-01-03 08:55:43 +03:00
Added a note about backward compatibility
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user