Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion libs/locales/lib/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,6 @@
"ai:iSCSI NIC belongs to machine CIDR": "iSCSI NIC belongs to machine CIDR",
"ai:It can be fixed in the <1>{pageURL.name}</1> page.": "It can be fixed in the <1>{pageURL.name}</1> page.",
"ai:It can be fixed in the <2></2> step.": "It can be fixed in the <2></2> step.",
"ai:It is not possible to remove a host which is being installed.": "It is not possible to remove a host that is being installed.",
"ai:It is not possible to remove a node from a cluster during installation.": "It is not possible to remove a node from a cluster during installation.",
"ai:It is not possible to remove control plane node from an installed cluster.": "It is not possible to remove control plane node from an installed cluster.",
"ai:It is not possible to remove this node from the cluster.": "It is not possible to remove this node from the cluster.",
Expand Down
11 changes: 0 additions & 11 deletions libs/ui-lib/lib/cim/components/Agent/tableUtils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -318,17 +318,6 @@ export const canUnbindAgent = (
}

const statusKey = getAgentStatusKey(agent);
if (
[
'preparing-for-installation',
'installing',
'installing-in-progress',
'installing-pending-user-action',
'resetting-pending-user-action',
].includes(statusKey)
) {
return [false, t('ai:It is not possible to remove a host which is being installed.')];
}

if (
['installed', 'error', 'cancelled'].includes(statusKey) &&
Expand Down
Loading