Repository: mesos
Updated Branches:
  refs/heads/master 240d1bbef -> b3293b28f


Fixed typos in master endpoint help messages.

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


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

Branch: refs/heads/master
Commit: b3293b28f98b71180ef3cce7d46d81d761ce6ba2
Parents: 240d1bb
Author: haosdent huang <[email protected]>
Authored: Sat Aug 8 03:02:05 2015 -0400
Committer: Michael Park <[email protected]>
Committed: Sat Aug 8 03:02:05 2015 -0400

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


http://git-wip-us.apache.org/repos/asf/mesos/blob/b3293b28/src/master/http.cpp
----------------------------------------------------------------------
diff --git a/src/master/http.cpp b/src/master/http.cpp
index 7d7e562..4dcbc0f 100644
--- a/src/master/http.cpp
+++ b/src/master/http.cpp
@@ -589,7 +589,7 @@ const string Master::Http::STATE_HELP = HELP(
     TLDR(
         "Information about state of master."),
     USAGE(
-        "/master/state"),
+        "/master/state.json"),
     DESCRIPTION(
         "This endpoint shows information about the frameworks, tasks,",
         "executors and slaves running in the cluster as a JSON object."));
@@ -1001,7 +1001,7 @@ const string Master::Http::ROLES_HELP = HELP(
     TLDR(
         "Information about roles that the master is configured with."),
     USAGE(
-        "/master/roles"),
+        "/master/roles.json"),
     DESCRIPTION(
         "This endpoint gives information about the roles that are assigned",
         "to frameworks and resources as a JSON object."));

Reply via email to