You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by vi...@apache.org on 2014/02/11 00:48:23 UTC

git commit: Disabled 'tasks.json' route in master due to MESOS-979.

Updated Branches:
  refs/heads/master 67e39711f -> d57821e40


Disabled 'tasks.json' route in master due to MESOS-979.

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


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

Branch: refs/heads/master
Commit: d57821e407430ab0a1dbc8bc16c81c59fe4013bf
Parents: 67e3971
Author: Vinod Kone <vi...@twitter.com>
Authored: Mon Feb 10 15:36:21 2014 -0800
Committer: Vinod Kone <vi...@twitter.com>
Committed: Mon Feb 10 15:36:40 2014 -0800

----------------------------------------------------------------------
 src/master/master.cpp | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/d57821e4/src/master/master.cpp
----------------------------------------------------------------------
diff --git a/src/master/master.cpp b/src/master/master.cpp
index 241b006..4d9a9d1 100644
--- a/src/master/master.cpp
+++ b/src/master/master.cpp
@@ -524,9 +524,12 @@ void Master::initialize()
   route("/roles.json",
         None(),
         lambda::bind(&Http::roles, http, lambda::_1));
-  route("/tasks.json",
-        Http::TASKS_HELP,
-        lambda::bind(&Http::tasks, http, lambda::_1));
+
+  // TODO(vinod): This route has been temporarily disabled due to
+  // MESOS-979.
+//  route("/tasks.json",
+//        Http::TASKS_HELP,
+//        lambda::bind(&Http::tasks, http, lambda::_1));
 
   // Provide HTTP assets from a "webui" directory. This is either
   // specified via flags (which is necessary for running out of the