You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mesos.apache.org by me...@apache.org on 2016/03/16 08:08:56 UTC

mesos git commit: Reran `generate-endpoint-help.py` script for `/weights` endpoint.

Repository: mesos
Updated Branches:
  refs/heads/master 5b2a34c50 -> 4994f30e3


Reran `generate-endpoint-help.py` script for `/weights` endpoint.

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


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

Branch: refs/heads/master
Commit: 4994f30e3bfe87c4cbb19ed831d7368ca74909a9
Parents: 5b2a34c
Author: Neil Conway <ne...@gmail.com>
Authored: Wed Mar 16 00:07:23 2016 -0700
Committer: Adam B <ad...@mesosphere.io>
Committed: Wed Mar 16 00:07:23 2016 -0700

----------------------------------------------------------------------
 docs/endpoints/index.md          |  1 +
 docs/endpoints/master/weights.md | 16 ++++++++++++++++
 src/master/http.cpp              |  2 +-
 3 files changed, 18 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/4994f30e/docs/endpoints/index.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/index.md b/docs/endpoints/index.md
index 27b178e..4fc5583 100644
--- a/docs/endpoints/index.md
+++ b/docs/endpoints/index.md
@@ -62,6 +62,7 @@ For example, http://master.com:5050/files/browse
 * [/tasks.json](master/tasks.json.md)
 * [/teardown](master/teardown.md)
 * [/unreserve](master/unreserve.md)
+* [/weights](master/weights.md)
 
 ### metrics ###
 * [/metrics/snapshot](metrics/snapshot.md)

http://git-wip-us.apache.org/repos/asf/mesos/blob/4994f30e/docs/endpoints/master/weights.md
----------------------------------------------------------------------
diff --git a/docs/endpoints/master/weights.md b/docs/endpoints/master/weights.md
new file mode 100644
index 0000000..632be24
--- /dev/null
+++ b/docs/endpoints/master/weights.md
@@ -0,0 +1,16 @@
+---
+title: Apache Mesos - HTTP Endpoints - /weights
+layout: documentation
+---
+<!--- This is an automatically generated file. DO NOT EDIT! --->
+
+### USAGE ###
+>        /weights
+>        /master/weights
+
+### TL;DR; ###
+Updates weights for the specified roles.
+
+### DESCRIPTION ###
+PUT: Validates the request body as JSON
+and updates the weights for the specified roles.
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/mesos/blob/4994f30e/src/master/http.cpp
----------------------------------------------------------------------
diff --git a/src/master/http.cpp b/src/master/http.cpp
index 28eb37e..b47ab7c 100644
--- a/src/master/http.cpp
+++ b/src/master/http.cpp
@@ -1172,7 +1172,7 @@ string Master::Http::WEIGHTS_HELP()
         "Updates weights for the specified roles."),
     DESCRIPTION(
         "PUT: Validates the request body as JSON",
-        " and updates the weights for the specified roles."));
+        "and updates the weights for the specified roles."));
 }