mirror of https://github.com/apache/cloudstack.git
Setting object name in response object.
This commit is contained in:
parent
45681c57f6
commit
a0372ccd17
|
|
@ -99,6 +99,7 @@ public class AddVmwareDcCmd extends BaseCmd {
|
|||
response.setId(result.getUuid());
|
||||
response.setName(result.getVmwareDatacenterName());
|
||||
response.setResponseName(getCommandName());
|
||||
response.setObjectName("vmwaredc");
|
||||
} else {
|
||||
throw new ServerApiException(ApiErrorCode.INTERNAL_ERROR, "Failed to add VMware Datacenter to zone.");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue