Improved endpoint description for `/state-summary`.
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/15c52497 Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/15c52497 Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/15c52497 Branch: refs/heads/master Commit: 15c524975bcfd1d42dc768ed41c55302b3dc7fb8 Parents: 254d11e Author: Neil Conway <[email protected]> Authored: Mon Apr 10 13:45:35 2017 -0700 Committer: Neil Conway <[email protected]> Committed: Mon Apr 10 14:34:11 2017 -0700 ---------------------------------------------------------------------- docs/endpoints/master/state-summary.md | 4 ++-- src/master/http.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/mesos/blob/15c52497/docs/endpoints/master/state-summary.md ---------------------------------------------------------------------- diff --git a/docs/endpoints/master/state-summary.md b/docs/endpoints/master/state-summary.md index 2986d05..e29e65d 100644 --- a/docs/endpoints/master/state-summary.md +++ b/docs/endpoints/master/state-summary.md @@ -9,7 +9,7 @@ layout: documentation > /master/state-summary ### TL;DR; ### -Summary of state of all tasks and registered frameworks in cluster. +Summary of agents, tasks, and registered frameworks in cluster. ### DESCRIPTION ### Returns 200 OK when a summary of the master's state was queried @@ -18,7 +18,7 @@ Returns 307 TEMPORARY_REDIRECT redirect to the leading master when current master is not the leader. Returns 503 SERVICE_UNAVAILABLE if the leading master cannot be found. -This endpoint gives a summary of the state of all tasks and +This endpoint gives a summary of the agents, tasks, and registered frameworks in the cluster as a JSON object. The information shown might be filtered based on the user accessing the endpoint. http://git-wip-us.apache.org/repos/asf/mesos/blob/15c52497/src/master/http.cpp ---------------------------------------------------------------------- diff --git a/src/master/http.cpp b/src/master/http.cpp index 0b3c501..c24bff8 100644 --- a/src/master/http.cpp +++ b/src/master/http.cpp @@ -3116,7 +3116,7 @@ string Master::Http::STATESUMMARY_HELP() { return HELP( TLDR( - "Summary of state of all tasks and registered frameworks in cluster."), + "Summary of agents, tasks, and registered frameworks in cluster."), DESCRIPTION( "Returns 200 OK when a summary of the master's state was queried", "successfully.", @@ -3124,7 +3124,7 @@ string Master::Http::STATESUMMARY_HELP() "current master is not the leader.", "Returns 503 SERVICE_UNAVAILABLE if the leading master cannot be", "found.", - "This endpoint gives a summary of the state of all tasks and", + "This endpoint gives a summary of the agents, tasks, and", "registered frameworks in the cluster as a JSON object.", "The information shown might be filtered based on the user", "accessing the endpoint."),
