cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@apache.org
Subject git commit: updated refs/heads/4.3-forward to cce4a05
Date Fri, 31 Jan 2014 07:58:55 GMT
Updated Branches:
  refs/heads/4.3-forward 901cf8ab3 -> cce4a055a


findbugs explicit toString on enum for call get(Object)

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

Branch: refs/heads/4.3-forward
Commit: cce4a055ae9bdda1e3f5ae2c95efc9dace75814b
Parents: 901cf8a
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 08:58:50 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/cce4a055/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