mirror of https://github.com/apache/cloudstack.git
Merge branch '4.20'
This commit is contained in:
commit
b9febe4b4f
|
|
@ -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…
Reference in New Issue