From 6a3eed3b8e5b7a8a55754bdf30625fe24cc59825 Mon Sep 17 00:00:00 2001 From: "Rodshell Fleurinord (he/him)" <69278532+rfleur01@users.noreply.github.com> Date: Thu, 14 Sep 2023 10:21:06 -0700 Subject: [PATCH] Allow sustaining Instance Types for new clusters (#1257) Co-authored-by: Rodshell Fleurinord --- deploy-board/deploy_board/templates/configs/new_capacity.html | 2 +- .../deploy_board/templates/configs/new_capacity_adv.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/deploy-board/deploy_board/templates/configs/new_capacity.html b/deploy-board/deploy_board/templates/configs/new_capacity.html index a50eab1f55..40c01b3347 100644 --- a/deploy-board/deploy_board/templates/configs/new_capacity.html +++ b/deploy-board/deploy_board/templates/configs/new_capacity.html @@ -114,7 +114,7 @@

Basic Settings

value: item.id, text: item.abstract_name+" ("+item.core+" cores, "+item.mem+" GB, "+item.network+", " +item.storage+")", isSelected: item.abstract_name === capacityCreationInfo.defaultHostType, - isDisabled: item.retired || item.blessed_status === "SUSTAINING" || item.blessed_status === "DECOMMISSIONING" + isDisabled: item.retired || item.blessed_status === "DECOMMISSIONING" } }), placements: placements.getSimpleList(false, null), diff --git a/deploy-board/deploy_board/templates/configs/new_capacity_adv.html b/deploy-board/deploy_board/templates/configs/new_capacity_adv.html index ce91b8c281..956d483924 100644 --- a/deploy-board/deploy_board/templates/configs/new_capacity_adv.html +++ b/deploy-board/deploy_board/templates/configs/new_capacity_adv.html @@ -147,7 +147,7 @@

Capacity

value: item.id, text: item.abstract_name + " (" + item.core + " cores, " + item.mem + " GB, " + item.storage + ", " + item.network + ", " + item.provider + ": " + item.provider_name + ", " + item.network + ")", isSelected: item.abstract_name === info.defaultHostType, - isDisabled: item.retired || item.blessed_status === "SUSTAINING" || item.blessed_status === "DECOMMISSIONING" + isDisabled: item.retired || item.blessed_status === "DECOMMISSIONING" } }), cellValue: info.defaultCell, @@ -384,7 +384,7 @@

Capacity

value: item.id, text: item.abstract_name + " (" + item.core + " cores, " + item.mem + " GB, " + item.storage + ", " + item.network + ", " + item.provider + ": " + item.provider_name + ", " + item.network + ")", isSelected: item.id === data[0].id, - isDisabled: item.retired || item.blessed_status === "SUSTAINING" || item.blessed_status === "DECOMMISSIONING" + isDisabled: item.retired || item.blessed_status === "DECOMMISSIONING" } }); capacitySetting.selectedHostTypeValue = data[0].id;