Merge branch '4.20'

This commit is contained in:
Suresh Kumar Anaparti 2025-07-31 15:23:45 +05:30
commit b9febe4b4f
No known key found for this signature in database
GPG Key ID: D7CEAE3A9E71D0AA

View File

@ -140,7 +140,8 @@ public class DestroyVMCmd extends BaseAsyncCmd implements UserCmd {
if (responses != null && !responses.isEmpty()) { if (responses != null && !responses.isEmpty()) {
response = responses.get(0); response = responses.get(0);
} }
response.setResponseName("virtualmachine"); response.setResponseName(getCommandName());
response.setObjectName("virtualmachine");
setResponseObject(response); setResponseObject(response);
} else { } else {
throw new ServerApiException(ApiErrorCode.INTERNAL_ERROR, "Failed to destroy vm"); throw new ServerApiException(ApiErrorCode.INTERNAL_ERROR, "Failed to destroy vm");