Skip to content

Commit

Permalink
additional message
Browse files Browse the repository at this point in the history
Signed-off-by: Abhishek Kumar <[email protected]>
  • Loading branch information
shwstppr committed May 20, 2024
1 parent 7ef716b commit 00cc2cb
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ public void checkVmCanBeDestroyed(UserVm userVm) {
if (kubernetesCluster != null) {
msg += String.format(": %s", kubernetesCluster.getName());
}
msg += ". Use Instance delete option from Kubernetes cluster details or scale API for " +
"Kubernetes clusters with 'nodeids' to destroy the instance.";
throw new CloudRuntimeException(msg);
}

Expand Down

0 comments on commit 00cc2cb

Please sign in to comment.