You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ji...@apache.org on 2016/04/12 17:34:11 UTC

mesos git commit: Added deprecation comment to .json endpoint.

Repository: mesos
Updated Branches:
  refs/heads/master a326e71b7 -> b0045415d


Added deprecation comment to .json endpoint.

This comment was lost with https://reviews.apache.org/r/45381/.

Review: https://reviews.apache.org/r/46091/


Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/b0045415
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/b0045415
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/b0045415

Branch: refs/heads/master
Commit: b0045415d6bd6d4f5c8fdb29e657fd4d8f5dc53e
Parents: a326e71
Author: Joerg Schad <jo...@mesosphere.io>
Authored: Tue Apr 12 08:33:59 2016 -0700
Committer: Jie Yu <yu...@gmail.com>
Committed: Tue Apr 12 08:33:59 2016 -0700

----------------------------------------------------------------------
 src/slave/slave.cpp | 2 ++
 1 file changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/b0045415/src/slave/slave.cpp
----------------------------------------------------------------------
diff --git a/src/slave/slave.cpp b/src/slave/slave.cpp
index f090c85..f3913c0 100644
--- a/src/slave/slave.cpp
+++ b/src/slave/slave.cpp
@@ -746,6 +746,8 @@ void Slave::initialize()
         [http](const process::http::Request& request) {
           return http.statistics(request);
         });
+  // TODO(ijimenez): Remove this endpoint at the end of the
+  // deprecation cycle on 0.26.
   route("/monitor/statistics.json",
         Http::STATISTICS_HELP(),
         [http](const process::http::Request& request) {