You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by ti...@apache.org on 2016/03/23 10:46:09 UTC
mesos git commit: Fixed flags help and regenerated endpoint
documentation.
Repository: mesos
Updated Branches:
refs/heads/master acb514c84 -> d687d41ff
Fixed flags help and regenerated endpoint documentation.
Fixes master endpoint flags help by adding the diff which was missing
in the original commit (https://reviews.apache.org/r/44767/diff/3-4/).
Also contains the regenerated endpoint documentation.
Review: https://reviews.apache.org/r/45204/
Project: http://git-wip-us.apache.org/repos/asf/mesos/repo
Commit: http://git-wip-us.apache.org/repos/asf/mesos/commit/d687d41f
Tree: http://git-wip-us.apache.org/repos/asf/mesos/tree/d687d41f
Diff: http://git-wip-us.apache.org/repos/asf/mesos/diff/d687d41f
Branch: refs/heads/master
Commit: d687d41ff7a34a69a5d8257f8f37c65ff5682bc6
Parents: acb514c
Author: Joerg Schad <jo...@mesosphere.io>
Authored: Wed Mar 23 10:37:16 2016 +0100
Committer: Till Toenshoff <to...@me.com>
Committed: Wed Mar 23 10:37:16 2016 +0100
----------------------------------------------------------------------
docs/endpoints/master/api/v1/scheduler.md | 2 +-
docs/endpoints/master/flags.md | 2 +-
src/master/http.cpp | 1 +
3 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/mesos/blob/d687d41f/docs/endpoints/master/api/v1/scheduler.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/master/api/v1/scheduler.md b/docs/endpoints/master/api/v1/scheduler.md
index 5389799..f647dc0 100644
--- a/docs/endpoints/master/api/v1/scheduler.md
+++ b/docs/endpoints/master/api/v1/scheduler.md
@@ -9,7 +9,7 @@ layout: documentation
> /master/api/v1/scheduler
### TL;DR; ###
-Endpoint for schedulers to make Calls against the master.
+Endpoint for schedulers to make calls against the master.
### DESCRIPTION ###
Returns 202 Accepted iff the request is accepted.
http://git-wip-us.apache.org/repos/asf/mesos/blob/d687d41f/docs/endpoints/master/flags.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/master/flags.md b/docs/endpoints/master/flags.md
index e9038fe..acb542e 100644
--- a/docs/endpoints/master/flags.md
+++ b/docs/endpoints/master/flags.md
@@ -11,6 +11,6 @@ layout: documentation
### TL;DR; ###
Exposes the master's flag configuration.
-### DESCRIPTION ###
+### AUTHENTICATION ###
This endpoint requires authentication iff HTTP authentication is
enabled.
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/mesos/blob/d687d41f/src/master/http.cpp
----------------------------------------------------------------------
diff --git a/src/master/http.cpp b/src/master/http.cpp
index bfea8fa..97e4b0c 100644
--- a/src/master/http.cpp
+++ b/src/master/http.cpp
@@ -782,6 +782,7 @@ string Master::Http::FLAGS_HELP()
{
return HELP(
TLDR("Exposes the master's flag configuration."),
+ None(),
AUTHENTICATION(true));
}