| 1038 | |
| 1039 | |
| 1040 | Future<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 | |
| 1055 | Future<Response> Http::getMetrics( |