| 3241 | |
| 3242 | |
| 3243 | Future<Response> Master::Http::updateMaintenanceSchedule( |
| 3244 | const mesos::master::Call& call, |
| 3245 | const Option<Principal>& principal, |
| 3246 | ContentType /*contentType*/) const |
| 3247 | { |
| 3248 | CHECK_EQ(mesos::master::Call::UPDATE_MAINTENANCE_SCHEDULE, call.type()); |
| 3249 | CHECK(call.has_update_maintenance_schedule()); |
| 3250 | |
| 3251 | mesos::maintenance::Schedule schedule = |
| 3252 | call.update_maintenance_schedule().schedule(); |
| 3253 | |
| 3254 | return _updateMaintenanceSchedule(schedule, principal); |
| 3255 | } |
| 3256 | |
| 3257 | |
| 3258 | // /master/machine/down endpoint help. |