Better comment
This commit is contained in:
parent
248315a2d9
commit
184bfd4836
|
@ -455,7 +455,8 @@ func (s *GenericScheduler) computeJobAllocs() error {
|
|||
return s.computePlacements(destructive, place)
|
||||
}
|
||||
|
||||
// computePlacements computes placements for allocations
|
||||
// computePlacements computes placements for allocations. It is given the set of
|
||||
// destructive updates to place and the set of new placements to place.
|
||||
func (s *GenericScheduler) computePlacements(destructive, place []placementResult) error {
|
||||
// Get the base nodes
|
||||
nodes, byDC, err := readyNodesInDCs(s.state, s.job.Datacenters)
|
||||
|
|
Loading…
Reference in New Issue