Skip to content

Commit

Permalink
Allow sustaining Instance Types for new clusters (#1257)
Browse files Browse the repository at this point in the history
Co-authored-by: Rodshell Fleurinord <[email protected]>
  • Loading branch information
rfleur01 and Rodshell Fleurinord authored Sep 14, 2023
1 parent 5e06516 commit 6a3eed3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ <h4 class="panel-title pull-left pointer-cursor">Basic Settings</h4>
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),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ <h4 class="panel-title pull-left">Capacity</h4>
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,
Expand Down Expand Up @@ -384,7 +384,7 @@ <h4 class="panel-title pull-left">Capacity</h4>
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;
Expand Down

0 comments on commit 6a3eed3

Please sign in to comment.