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

Method getVersion

src/slave/http.cpp:1040–1052  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1038
1039
1040Future<Response> Http::getVersion(
1041 const mesos::agent::Call& call,
1042 ContentType acceptType,
1043 const Option<Principal>& principal) const
1044{
1045 CHECK_EQ(mesos::agent::Call::GET_VERSION, call.type());
1046
1047 LOG(INFO) << "Processing GET_VERSION call";
1048
1049 return OK(serialize(acceptType,
1050 evolve<v1::agent::Response::GET_VERSION>(version())),
1051 stringify(acceptType));
1052}
1053
1054
1055Future<Response> 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