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

Method getVersion

src/master/http.cpp:1564–1574  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1562
1563
1564Future<Response> Master::Http::getVersion(
1565 const mesos::master::Call& call,
1566 const Option<Principal>& principal,
1567 ContentType contentType) const
1568{
1569 CHECK_EQ(mesos::master::Call::GET_VERSION, call.type());
1570
1571 return OK(serialize(contentType,
1572 evolve<v1::master::Response::GET_VERSION>(version())),
1573 stringify(contentType));
1574}
1575
1576
1577Future<Response> Master::Http::getMetrics(

Callers

nothing calls this directly

Calls 5

OKClass · 0.85
typeMethod · 0.80
serializeFunction · 0.50
versionFunction · 0.50
stringifyFunction · 0.50

Tested by

no test coverage detected