From 31f74000bc07959642424a2c597cac35b85a3b09 Mon Sep 17 00:00:00 2001 From: Eric Weber Date: Tue, 5 Dec 2023 10:29:18 -0600 Subject: [PATCH] Change unschedulable disk to yellow when node is cordoned Longhorn 2238 Signed-off-by: Eric Weber --- src/routes/host/DiskList.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/host/DiskList.js b/src/routes/host/DiskList.js index bc7455b1..7f12c78e 100644 --- a/src/routes/host/DiskList.js +++ b/src/routes/host/DiskList.js @@ -14,7 +14,7 @@ function diskList({ disks, node, storageOverProvisioningPercentage, minimalSched return (Disabled) } if (node.conditions && node.conditions.Schedulable && node.conditions.Schedulable.status && node.conditions.Schedulable.status.toLowerCase() === 'false') { - return (Unschedulable) + return (Unschedulable) } const status = d.conditions && d.conditions.Schedulable && d.conditions.Schedulable.status && d.conditions.Schedulable.status.toLowerCase() === 'true' if (status) {