You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@yunikorn.apache.org by ww...@apache.org on 2021/08/29 04:50:34 UTC

[incubator-yunikorn-site] branch master updated: [YUNIKORN-794] Fix a few typos in the REST API about queue capacity (#78)

This is an automated email from the ASF dual-hosted git repository.

wwei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-yunikorn-site.git


The following commit(s) were added to refs/heads/master by this push:
     new 0528b5b  [YUNIKORN-794]  Fix a few typos in the REST API about queue capacity (#78)
0528b5b is described below

commit 0528b5b970c2c97b178c853d7254290103e30db8
Author: Chia-Ping Tsai <ch...@gmail.com>
AuthorDate: Sun Aug 29 12:50:26 2021 +0800

    [YUNIKORN-794]  Fix a few typos in the REST API about queue capacity (#78)
---
 docs/api/scheduler.md | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/docs/api/scheduler.md b/docs/api/scheduler.md
index c9dbeb7..550985a 100644
--- a/docs/api/scheduler.md
+++ b/docs/api/scheduler.md
@@ -46,7 +46,7 @@ Displays general information about the partition like name, state, capacity, use
         "lastStateTransitionTime": "2021-05-20 12:25:49.018953 +0530 IST m=+0.005949717",
         "capacity": {
             "capacity": "[memory:1000 vcore:1000]",
-            "usedcapacity": "[memory:800 vcore:500]"
+            "usedCapacity": "[memory:800 vcore:500]"
         },
         "nodeSortingPolicy": "fair",
         "applications": {
@@ -61,7 +61,7 @@ Displays general information about the partition like name, state, capacity, use
         "lastStateTransitionTime": "2021-05-19 12:25:49.018953 +0530 IST m=+0.005949717",
         "capacity": {
             "capacity": "[memory:2000 vcore:2000]",
-            "usedcapacity": "[memory:500 vcore:300]"
+            "usedCapacity": "[memory:500 vcore:300]"
         },
         "nodeSortingPolicy": "fair",
         "applications": {
@@ -191,7 +191,7 @@ For the default queue hierarchy (only `root.default` leaf queue exists) a simila
     "partitionName": "[mycluster]default",
     "capacity": {
         "capacity": "map[ephemeral-storage:75850798569 hugepages-1Gi:0 hugepages-2Mi:0 memory:80000 pods:110 vcore:60000]",
-        "usedcapacity": "0"
+        "usedCapacity": "0"
     },
     "nodes": null,
     "queues": {
@@ -199,9 +199,9 @@ For the default queue hierarchy (only `root.default` leaf queue exists) a simila
         "status": "Active",
         "capacities": {
             "capacity": "[]",
-            "maxcapacity": "[ephemeral-storage:75850798569 hugepages-1Gi:0 hugepages-2Mi:0 memory:80000 pods:110 vcore:60000]",
-            "usedcapacity": "[memory:8000 vcore:8000]",
-            "absusedcapacity": "[memory:54 vcore:80]"
+            "maxCapacity": "[ephemeral-storage:75850798569 hugepages-1Gi:0 hugepages-2Mi:0 memory:80000 pods:110 vcore:60000]",
+            "usedCapacity": "[memory:8000 vcore:8000]",
+            "absUsedCapacity": "[memory:54 vcore:80]"
         },
         "queues": [
             {
@@ -209,9 +209,9 @@ For the default queue hierarchy (only `root.default` leaf queue exists) a simila
                 "status": "Active",
                 "capacities": {
                     "capacity": "[]",
-                    "maxcapacity": "[]",
-                    "usedcapacity": "[memory:8000 vcore:8000]",
-                    "absusedcapacity": "[]"
+                    "maxCapacity": "[]",
+                    "usedCapacity": "[memory:8000 vcore:8000]",
+                    "absUsedCapacity": "[]"
                 },
                 "queues": null,
                 "properties": {}