| 49 | // Put the machines in the existing schedule into a set. |
| 50 | hashset<MachineID> existing; |
| 51 | foreach (const maintenance::Schedule& agenda, registry->schedules()) { |
| 52 | foreach (const maintenance::Window& window, agenda.windows()) { |
| 53 | foreach (const MachineID& id, window.machine_ids()) { |
| 54 | existing.insert(id); |
| 55 | } |
| 56 | } |
| 57 | } |
| 58 | |
| 59 | // Put the machines in the updated schedule into a set. |
| 60 | // Keep the relevant unavailability to help update existing machines. |
nothing calls this directly
no test coverage detected