cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edi...@apache.org
Subject git commit: updated refs/heads/4.2 to 28a85fe
Date Fri, 12 Jul 2013 23:10:52 GMT
Updated Branches:
  refs/heads/4.2 8439209ba -> 28a85fe00


fix compile issue


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

Branch: refs/heads/4.2
Commit: 28a85fe000bcc8d03599e15957a2cb5bdb998ff5
Parents: 8439209
Author: Edison Su <sudison@gmail.com>
Authored: Fri Jul 12 16:08:10 2013 -0700
Committer: Edison Su <sudison@gmail.com>
Committed: Fri Jul 12 16:08:10 2013 -0700

----------------------------------------------------------------------
 .../src/com/cloud/hypervisor/vmware/resource/VmwareResource.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/28a85fe0/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
----------------------------------------------------------------------
diff --git a/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
b/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
index 76631e3..2d18dc8 100755
--- a/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
+++ b/plugins/hypervisors/vmware/src/com/cloud/hypervisor/vmware/resource/VmwareResource.java
@@ -2043,7 +2043,7 @@ public class VmwareResource implements StoragePoolResource, ServerResource,
Vmwa
         if (s_logger.isInfoEnabled()) {
             s_logger.info("Executing createipAlias command: " + _gson.toJson(cmd));
         }
-        cmd.getAccessDetail(NetworkElementCommand.ROUTER_IP);
+        String routerIp = cmd.getAccessDetail(NetworkElementCommand.ROUTER_IP);
         List<IpAliasTO> ipAliasTOs = cmd.getIpAliasList();
         String args=routerIp+" ";
         for (IpAliasTO ipaliasto : ipAliasTOs) {
@@ -2079,7 +2079,7 @@ public class VmwareResource implements StoragePoolResource, ServerResource,
Vmwa
     }
 
     protected Answer execute(final DeleteIpAliasCommand cmd) {
-        cmd.getAccessDetail(NetworkElementCommand.ROUTER_IP);
+        String routerIp = cmd.getAccessDetail(NetworkElementCommand.ROUTER_IP);
         List<IpAliasTO> revokedIpAliasTOs = cmd.getDeleteIpAliasTos();
         List<IpAliasTO> activeIpAliasTOs = cmd.getCreateIpAliasTos();
         if (s_logger.isInfoEnabled()) {


Mime
View raw message