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

Method discard

src/master/detector/standalone.cpp:78–82  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76
77private:
78 void discard(const Future<Option<MasterInfo>>& future)
79 {
80 // Discard the promise holding this future.
81 discardPromises(&promises, future);
82 }
83
84 Option<MasterInfo> leader; // The appointed master.
85 set<Promise<Option<MasterInfo>>*> promises;

Callers

nothing calls this directly

Calls 1

discardPromisesFunction · 0.85

Tested by

no test coverage detected