You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ne...@apache.org on 2017/04/10 21:30:49 UTC
[2/3] mesos git commit: Improved endpoint description for
`/state-summary`.
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/29130033
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/29130033
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/29130033
Branch: refs/heads/state-summary-help
Commit: 29130033fc7d66f4245813fdc5b2eca2d77ce9a1
Parents: fe5ffe0
Author: Neil Conway <ne...@gmail.com>
Authored: Mon Apr 10 13:45:35 2017 -0700
Committer: Neil Conway <ne...@gmail.com>
Committed: Mon Apr 10 13:45:35 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/29130033/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/29130033/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."),