Updated Branches:
  refs/heads/master 2aae10bb6 -> e0f0e9d01

Setting object name in response object.


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/a0372ccd
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/a0372ccd
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/a0372ccd

Branch: refs/heads/master
Commit: a0372ccd1727a7577d5932a6149744aff172ddf2
Parents: 45681c5
Author: Sateesh Chodapuneedi <sate...@apache.org>
Authored: Mon Jun 3 17:18:16 2013 +0530
Committer: Sateesh Chodapuneedi <sate...@apache.org>
Committed: Mon Jun 3 17:18:16 2013 +0530

----------------------------------------------------------------------
 .../api/command/admin/zone/AddVmwareDcCmd.java     |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/a0372ccd/plugins/hypervisors/vmware/src/org/apache/cloudstack/api/command/admin/zone/AddVmwareDcCmd.java
----------------------------------------------------------------------
diff --git 
a/plugins/hypervisors/vmware/src/org/apache/cloudstack/api/command/admin/zone/AddVmwareDcCmd.java
 
b/plugins/hypervisors/vmware/src/org/apache/cloudstack/api/command/admin/zone/AddVmwareDcCmd.java
index 7168c7f..fde96c8 100644
--- 
a/plugins/hypervisors/vmware/src/org/apache/cloudstack/api/command/admin/zone/AddVmwareDcCmd.java
+++ 
b/plugins/hypervisors/vmware/src/org/apache/cloudstack/api/command/admin/zone/AddVmwareDcCmd.java
@@ -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.");
             }

Reply via email to