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

Method getOffer

src/master/master.cpp:11953–11956  ·  view source on GitHub ↗

TODO(bmahler): Consider killing this.

Source from the content-addressed store, hash-verified

11951
11952// TODO(bmahler): Consider killing this.
11953Offer* Master::getOffer(const OfferID& offerId) const
11954{
11955 return offers.contains(offerId) ? offers.at(offerId) : nullptr;
11956}
11957
11958
11959// TODO(bmahler): Consider killing this.

Callers 1

getOfferFunction · 0.80

Calls 2

atMethod · 0.80
containsMethod · 0.45

Tested by

no test coverage detected