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/01/27 00:59:44 UTC

mesos git commit: Quota: Corrected example in user doc.

Repository: mesos
Updated Branches:
  refs/heads/master caf75cf50 -> 0f68135ab


Quota: Corrected example in user doc.

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


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

Branch: refs/heads/master
Commit: 0f68135abca394c21e734fafabf9e8f59142934c
Parents: caf75cf
Author: Alexander Rukletsov <ru...@gmail.com>
Authored: Tue Jan 26 15:59:10 2016 -0800
Committer: Joris Van Remoortere <jo...@gmail.com>
Committed: Tue Jan 26 15:59:17 2016 -0800

----------------------------------------------------------------------
 docs/quota.md | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/mesos/blob/0f68135a/docs/quota.md
----------------------------------------------------------------------
diff --git a/docs/quota.md b/docs/quota.md
index 17cc61e..a566c75 100644
--- a/docs/quota.md
+++ b/docs/quota.md
@@ -159,18 +159,19 @@ status, for example:
         {
           "infos": [
             {
-              "resources": [
+              "role": "role1",
+              "guarantee": [
                 {
                   "name": "cpus",
+                  "role": "*",
                   "type": "SCALAR",
-                  "scalar": { "value": 12 },
-                  "role": "role1",
+                  "scalar": { "value": 12 }
                 },
                 {
                   "name": "mem",
+                  "role": "*",
                   "type": "SCALAR",
-                  "scalar": { "value": 6144 },
-                  "role": "role1",
+                  "scalar": { "value": 6144 }
                 }
               ]
             }