MCPcopy Create free account
hub / github.com/apache/mesos / updateMaintenanceSchedule

Method updateMaintenanceSchedule

src/master/http.cpp:3243–3255  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3241
3242
3243Future<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.

Callers

nothing calls this directly

Calls 2

typeMethod · 0.80
scheduleMethod · 0.45

Tested by

no test coverage detected