cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject [3/5] git commit: updated refs/heads/4.3 to 8c45ab0
Date Fri, 31 Jan 2014 18:18:53 GMT
findbugs explicit toString on enum for call get(Object)
(cherry picked from commit cce4a055ae9bdda1e3f5ae2c95efc9dace75814b)

Signed-off-by: Daan Hoogland <daan@onecht.net>


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

Branch: refs/heads/4.3
Commit: 5d11f9b14991d14d386a7ee7f22d9cb755e03c0d
Parents: 92ac450
Author: Daan Hoogland <daan@onecht.net>
Authored: Fri Jan 31 08:58:50 2014 +0100
Committer: Daan Hoogland <daan@onecht.net>
Committed: Fri Jan 31 19:16:55 2014 +0100

----------------------------------------------------------------------
 server/src/com/cloud/network/guru/ControlNetworkGuru.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/5d11f9b1/server/src/com/cloud/network/guru/ControlNetworkGuru.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/network/guru/ControlNetworkGuru.java b/server/src/com/cloud/network/guru/ControlNetworkGuru.java
index 26caa61..2461b16 100755
--- a/server/src/com/cloud/network/guru/ControlNetworkGuru.java
+++ b/server/src/com/cloud/network/guru/ControlNetworkGuru.java
@@ -218,12 +218,12 @@ public class ControlNetworkGuru extends PodBasedNetworkGuru implements
NetworkGu
 
         Map<String, String> dbParams = _configDao.getConfiguration(params);
 
-        _cidr = dbParams.get(Config.ControlCidr);
+        _cidr = dbParams.get(Config.ControlCidr.toString());
         if (_cidr == null) {
             _cidr = "169.254.0.0/16";
         }
 
-        _gateway = dbParams.get(Config.ControlGateway);
+        _gateway = dbParams.get(Config.ControlGateway.toString());
         if (_gateway == null) {
             _gateway = NetUtils.getLinkLocalGateway();
         }


Mime
View raw message