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

Method activateSlave

src/master/allocator/mesos/hierarchical.cpp:1236–1245  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1234
1235
1236void HierarchicalAllocatorProcess::activateSlave(
1237 const SlaveID& slaveId)
1238{
1239 CHECK(initialized);
1240
1241 Slave& slave = *CHECK_NOTNONE(getSlave(slaveId));
1242 slave.activated = true;
1243
1244 LOG(INFO) << "Agent " << slaveId << " reactivated";
1245}
1246
1247
1248void HierarchicalAllocatorProcess::deactivateSlave(

Callers

nothing calls this directly

Calls 1

getSlaveFunction · 0.85

Tested by

no test coverage detected