File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
server/src/main/java/org/apache/cloudstack/vm Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -2382,13 +2382,13 @@ void performUnmanageVMInstancePrechecks(VMInstanceVO vmVO) {
23822382 " as there is an ISO attached. Please detach ISO before unmanaging." );
23832383 }
23842384
2385- if (belongsToCksCluster (vmVO )) {
2385+ if (isVmPartOfCKSCluster (vmVO )) {
23862386 throw new UnsupportedServiceException ("Cannot unmanage VM with id = " + vmVO .getUuid () +
23872387 " as it belongs to a CKS cluster. Please remove the VM from the CKS cluster before unmanaging." );
23882388 }
23892389 }
23902390
2391- private boolean belongsToCksCluster (VMInstanceVO vmVO ) {
2391+ private boolean isVmPartOfCKSCluster (VMInstanceVO vmVO ) {
23922392 return kubernetesServiceHelper .findByVmId (vmVO .getId ()) != null ;
23932393 }
23942394
You can’t perform that action at this time.
0 commit comments