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

Function fail

src/master/registrar.cpp:258–264  ·  view source on GitHub ↗

Helper for failing a deque of operations.

Source from the content-addressed store, hash-verified

256
257// Helper for failing a deque of operations.
258void fail(deque<Owned<RegistryOperation>>* operations, const string& message)
259{
260 while (!operations->empty()) {
261 operations->front()->fail(message);
262 operations->pop_front();
263 }
264}
265
266
267Future<Response> RegistrarProcess::getRegistry(

Callers 3

updateMethod · 0.70
_updateMethod · 0.70
abortMethod · 0.70

Calls 2

emptyMethod · 0.45
failMethod · 0.45

Tested by

no test coverage detected