mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
API: Set Object name when expunging VM (#11352)
This commit is contained in:
parent
7e0414354a
commit
2944bd1eda
@ -140,7 +140,8 @@ public class DestroyVMCmd extends BaseAsyncCmd implements UserCmd {
|
||||
if (responses != null && !responses.isEmpty()) {
|
||||
response = responses.get(0);
|
||||
}
|
||||
response.setResponseName("virtualmachine");
|
||||
response.setResponseName(getCommandName());
|
||||
response.setObjectName("virtualmachine");
|
||||
setResponseObject(response);
|
||||
} else {
|
||||
throw new ServerApiException(ApiErrorCode.INTERNAL_ERROR, "Failed to destroy vm");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user