From 3fe9ed22846b9661159afa38057d1688c4776608 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E5=89=91=E5=8B=87?= Date: Tue, 24 Oct 2023 03:28:39 +0000 Subject: [PATCH] =?UTF-8?q?=E8=8A=82=E7=82=B9=E7=8A=B6=E6=80=81=E9=80=82?= =?UTF-8?q?=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 赵剑勇 --- LSF-Script/node/nodeSample | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LSF-Script/node/nodeSample b/LSF-Script/node/nodeSample index b765e07..d2cf2b4 100644 --- a/LSF-Script/node/nodeSample +++ b/LSF-Script/node/nodeSample @@ -140,7 +140,7 @@ for hostinfo in nodeArrayList: hostinfo['swap'] = None if host['maxswp'] == '-' else transferMemToMB(host['maxswp']) hostinfo['cpuModel'] = host['model'] hostinfo['cpuBuildType'] = 'x86_64' if host['type'] == 'X86_64' else host['type'] - if (hostinfo['state'] == 'CLOSED' and hostinfo['coreFree'] == 0): + if (hostinfo['state'] == 'CLOSE' and hostinfo['coreFree'] == 0): hostinfo['coreFree'] = host['ncpus'] for cluster in bclusterinfo: hostinfo['cluster'] = cluster['CLUSTER_NAME'] -- Gitee