cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sate...@apache.org
Subject [1/2] git commit: updated refs/heads/master to e0f0e9d
Date Mon, 03 Jun 2013 11:51:46 GMT
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 <sateesh@apache.org>
Authored: Mon Jun 3 17:18:16 2013 +0530
Committer: Sateesh Chodapuneedi <sateesh@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.");
             }


Mime
View raw message