You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by bm...@apache.org on 2015/10/14 20:30:36 UTC

mesos git commit: Expose 'active' field for frameworks in /master/state-summary.

Repository: mesos
Updated Branches:
  refs/heads/master 1f231bf48 -> bee5b1d30


Expose 'active' field for frameworks in /master/state-summary.

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


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

Branch: refs/heads/master
Commit: bee5b1d3087248ea61a92ee9658484087c36c9e3
Parents: 1f231bf
Author: Guangya Liu <gy...@gmail.com>
Authored: Wed Oct 14 11:29:51 2015 -0700
Committer: Benjamin Mahler <be...@gmail.com>
Committed: Wed Oct 14 11:29:51 2015 -0700

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


http://git-wip-us.apache.org/repos/asf/mesos/blob/bee5b1d3/src/master/http.cpp
----------------------------------------------------------------------
diff --git a/src/master/http.cpp b/src/master/http.cpp
index 3ca3725..093f793 100644
--- a/src/master/http.cpp
+++ b/src/master/http.cpp
@@ -162,6 +162,8 @@ JSON::Object summarize(const Framework& framework)
   object.values["hostname"] = framework.info.hostname();
   object.values["webui_url"] = framework.info.webui_url();
 
+  object.values["active"] = framework.active;
+
   return object;
 }