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 <[email protected]> Authored: Wed Oct 14 11:29:51 2015 -0700 Committer: Benjamin Mahler <[email protected]> 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; }
