mirror of https://github.com/apache/cloudstack.git
bug 6399: deployVirtualMachine API should return an embedded object (named "virtualmachine").
status 6399: resolved fixed
This commit is contained in:
parent
fa4a16cb68
commit
b7d430cf86
|
|
@ -195,6 +195,7 @@ public class DeployVMCmd extends BaseAsyncCmd {
|
|||
UserVm userVm = (UserVm)getResponseObject();
|
||||
|
||||
UserVmResponse response = new UserVmResponse();
|
||||
response.setResponseName(getResultObjectName());
|
||||
response.setId(userVm.getId());
|
||||
response.setName(userVm.getName());
|
||||
response.setCreated(userVm.getCreated());
|
||||
|
|
@ -292,7 +293,6 @@ public class DeployVMCmd extends BaseAsyncCmd {
|
|||
|
||||
response.setNetworkGroupList(ApiDBUtils.getNetworkGroupsNamesForVm(userVm.getId()));
|
||||
|
||||
response.setResponseName(getName());
|
||||
return response;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue