Setting object name in response object.

This commit is contained in:
Sateesh Chodapuneedi 2013-06-03 17:18:16 +05:30
parent 45681c57f6
commit a0372ccd17
1 changed files with 1 additions and 0 deletions

View File

@ -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.");
}