Skip to content

Commit

Permalink
feat: Add multi RM name to K8s (#8993)
Browse files Browse the repository at this point in the history
  • Loading branch information
gt2345 committed Mar 14, 2024
1 parent 978a02e commit 73fd1cd
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webui/react/src/components/ResourcePoolCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,8 @@ const ResourcePoolCard: React.FC<Props> = ({
acc[attribute.label] = value;
if (!isAux && attribute.key === 'auxContainerCapacityPerAgent') delete acc[attribute.label];
if (
(pool.type === V1ResourcePoolType.K8S && attribute.key !== 'type') ||
(pool.type === V1ResourcePoolType.K8S &&
!['type', 'resourceManagerName'].includes(attribute.key)) ||
(attribute.key === 'resourceManagerName' && !multiResourceManagers.getOrElse(false))
) {
delete acc[attribute.label];
Expand Down

0 comments on commit 73fd1cd

Please sign in to comment.