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/03/16 01:27:23 UTC

mesos git commit: Fixed formating of "/maintanence/schedule" GET/POST description.

Repository: mesos
Updated Branches:
  refs/heads/master 3d7feed63 -> c7602b202


Fixed formating of "/maintanence/schedule" GET/POST description.

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


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

Branch: refs/heads/master
Commit: c7602b2023825c153aca91e0aca846f17a8da23c
Parents: 3d7feed
Author: Klaus Ma <kl...@gmail.com>
Authored: Tue Mar 15 17:20:26 2016 -0700
Committer: Joris Van Remoortere <jo...@gmail.com>
Committed: Tue Mar 15 17:27:11 2016 -0700

----------------------------------------------------------------------
 docs/endpoints/master/maintenance/schedule.md | 1 +
 src/master/http.cpp                           | 1 +
 2 files changed, 2 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/c7602b20/docs/endpoints/master/maintenance/schedule.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/master/maintenance/schedule.md b/docs/endpoints/master/maintenance/schedule.md
index 2b5e782..5f5267d 100644
--- a/docs/endpoints/master/maintenance/schedule.md
+++ b/docs/endpoints/master/maintenance/schedule.md
@@ -13,5 +13,6 @@ Returns or updates the cluster's maintenance schedule.
 
 ### DESCRIPTION ###
 GET: Returns the current maintenance schedule as JSON.
+
 POST: Validates the request body as JSON
   and updates the maintenance schedule.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/mesos/blob/c7602b20/src/master/http.cpp
----------------------------------------------------------------------
diff --git a/src/master/http.cpp b/src/master/http.cpp
index 1c2ca33..28eb37e 100644
--- a/src/master/http.cpp
+++ b/src/master/http.cpp
@@ -1985,6 +1985,7 @@ string Master::Http::MAINTENANCE_SCHEDULE_HELP()
         "Returns or updates the cluster's maintenance schedule."),
     DESCRIPTION(
         "GET: Returns the current maintenance schedule as JSON.",
+        "",
         "POST: Validates the request body as JSON",
         "  and updates the maintenance schedule."));
 }