mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-28 12:03:33 +00:00
chore: implement VolumesConstraint to only schedule on machines with required volumes
This commit is contained in:
@@ -53,5 +53,7 @@ func (s *ServiceScheduler) evaluateConstraints(machine *Machine) bool {
|
||||
}
|
||||
|
||||
func (s *ServiceScheduler) ScheduleContainer() ([]*pb.MachineInfo, error) {
|
||||
// TODO: organise machines in a heap and supply a sort function from the strategy. Each scheduled container
|
||||
// should update the machine and reorder it in the heap.
|
||||
return nil, errors.New("not implemented")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user