mirror of
https://github.com/apache/cloudstack.git
synced 2025-12-15 18:12:35 +01:00
AJH Findbugs [8] - Added .toString() to enum.
Signed-off-by: Hugo Trippaers <htrippaers@schubergphilis.com>
This commit is contained in:
parent
b8c228e151
commit
39cfc4968c
@ -224,12 +224,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();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user