You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by jo...@apache.org on 2016/02/24 20:13:31 UTC
mesos git commit: Fixed a typo in the roles documentation.
Repository: mesos
Updated Branches:
refs/heads/master 5978e8e5d -> 1e1e73744
Fixed a typo in the roles documentation.
Review: https://reviews.apache.org/r/43864/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/1e1e7374
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/1e1e7374
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/1e1e7374
Branch: refs/heads/master
Commit: 1e1e737445b36a481f5ecd19b571511331f7c580
Parents: 5978e8e
Author: Klaus Ma <kl...@gmail.com>
Authored: Wed Feb 24 11:12:52 2016 -0800
Committer: Joris Van Remoortere <jo...@gmail.com>
Committed: Wed Feb 24 11:13:06 2016 -0800
----------------------------------------------------------------------
docs/endpoints/master/roles.json.md | 6 +++++-
docs/endpoints/master/roles.md | 6 +++++-
src/master/http.cpp | 8 ++++----
3 files changed, 14 insertions(+), 6 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/1e1e7374/docs/endpoints/master/roles.json.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/master/roles.json.md b/docs/endpoints/master/roles.json.md
index d67779c..bbeac1d 100644
--- a/docs/endpoints/master/roles.json.md
+++ b/docs/endpoints/master/roles.json.md
@@ -7,4 +7,8 @@
Information about roles.
### DESCRIPTION ###
-This endpoint provides information about roles as a JSON object.It returns information about every role that is on the rolewhitelist (if enabled), has one or more registered frameworks,or has a non-default weight or quota. For each role, it returnsthe weight, total allocated resources, and registered frameworks.
\ No newline at end of file
+This endpoint provides information about roles as a JSON object.
+It returns information about every role that is on the role
+whitelist (if enabled), has one or more registered frameworks,
+or has a non-default weight or quota. For each role, it returns
+the weight, total allocated resources, and registered frameworks.
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/mesos/blob/1e1e7374/docs/endpoints/master/roles.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/master/roles.md b/docs/endpoints/master/roles.md
index 976a9b7..d6d9bc6 100644
--- a/docs/endpoints/master/roles.md
+++ b/docs/endpoints/master/roles.md
@@ -7,4 +7,8 @@
Information about roles.
### DESCRIPTION ###
-This endpoint provides information about roles as a JSON object.It returns information about every role that is on the rolewhitelist (if enabled), has one or more registered frameworks,or has a non-default weight or quota. For each role, it returnsthe weight, total allocated resources, and registered frameworks.
\ No newline at end of file
+This endpoint provides information about roles as a JSON object.
+It returns information about every role that is on the role
+whitelist (if enabled), has one or more registered frameworks,
+or has a non-default weight or quota. For each role, it returns
+the weight, total allocated resources, and registered frameworks.
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/mesos/blob/1e1e7374/src/master/http.cpp
----------------------------------------------------------------------
diff --git a/src/master/http.cpp b/src/master/http.cpp
index 939fab2..950206b 100644
--- a/src/master/http.cpp
+++ b/src/master/http.cpp
@@ -1759,10 +1759,10 @@ string Master::Http::ROLES_HELP()
TLDR(
"Information about roles."),
DESCRIPTION(
- "This endpoint provides information about roles as a JSON object."
- "It returns information about every role that is on the role"
- "whitelist (if enabled), has one or more registered frameworks,"
- "or has a non-default weight or quota. For each role, it returns"
+ "This endpoint provides information about roles as a JSON object.",
+ "It returns information about every role that is on the role",
+ "whitelist (if enabled), has one or more registered frameworks,",
+ "or has a non-default weight or quota. For each role, it returns",
"the weight, total allocated resources, and registered frameworks."));
}