| 1562 | |
| 1563 | |
| 1564 | Future<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 | |
| 1577 | Future<Response> Master::Http::getMetrics( |