From ac9ebe44df37aa223c9e01edcb972ffd60b50eef Mon Sep 17 00:00:00 2001 From: targetoee Date: Thu, 26 Oct 2023 11:54:22 -0500 Subject: [PATCH] [YUNIKORN-2034] Fix Partition API example data type (#358) Closes: #358 Signed-off-by: Craig Condit --- docs/api/scheduler.md | 8 ++++---- .../current/api/scheduler.md | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/docs/api/scheduler.md b/docs/api/scheduler.md index 494d2d3cc26..eb5c7b55617 100644 --- a/docs/api/scheduler.md +++ b/docs/api/scheduler.md @@ -86,8 +86,8 @@ Returns general information and statistics about a partition. "Pending": 5, "total": 10 }, - "totalContainers": "0", - "totalNodes": "2" + "totalContainers": 0, + "totalNodes": 2 }, { "clusterId": "mycluster", @@ -121,8 +121,8 @@ Returns general information and statistics about a partition. "Pending": 5, "total": 20 }, - "totalContainers": "20", - "totalNodes": "5" + "totalContainers": 20, + "totalNodes": 5 } ] ``` diff --git a/i18n/zh-cn/docusaurus-plugin-content-docs/current/api/scheduler.md b/i18n/zh-cn/docusaurus-plugin-content-docs/current/api/scheduler.md index 19b93279580..a0bbfa87144 100644 --- a/i18n/zh-cn/docusaurus-plugin-content-docs/current/api/scheduler.md +++ b/i18n/zh-cn/docusaurus-plugin-content-docs/current/api/scheduler.md @@ -82,8 +82,8 @@ Yunikorn调度器能透过REST API来返回多个对象的信息 "Pending": 5, "total": 10 }, - "totalContainers": "0", - "totalNodes": "2" + "totalContainers": 0, + "totalNodes": 2 }, { "clusterId": "mycluster", @@ -117,8 +117,8 @@ Yunikorn调度器能透过REST API来返回多个对象的信息 "Pending": 5, "total": 20 }, - "totalContainers": "20", - "totalNodes": "5" + "totalContainers": 20, + "totalNodes": 5 } ] ```