mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 11:52:28 +01:00
bug 10884: use the proper keys this time
This commit is contained in:
parent
70e0b54a83
commit
1226a49976
@ -741,8 +741,8 @@ public class SecurityGroupManagerImpl implements SecurityGroupManager, SecurityG
|
||||
public boolean configure(String name, Map<String, Object> params) throws ConfigurationException {
|
||||
|
||||
Map<String, String> configs = _configDao.getConfiguration("Network", params);
|
||||
_numWorkerThreads = NumbersUtil.parseInt(configs.get(Config.SecurityGroupWorkerThreads), WORKER_THREAD_COUNT);
|
||||
_timeBetweenCleanups = NumbersUtil.parseInt(configs.get(Config.SecurityGroupWorkerThreads), TIME_BETWEEN_CLEANUPS);
|
||||
_numWorkerThreads = NumbersUtil.parseInt(configs.get(Config.SecurityGroupWorkerThreads.key()), WORKER_THREAD_COUNT);
|
||||
_timeBetweenCleanups = NumbersUtil.parseInt(configs.get(Config.SecurityGroupWorkCleanupInterval.key()), TIME_BETWEEN_CLEANUPS);
|
||||
|
||||
/* register state listener, no matter security group is enabled or not */
|
||||
VirtualMachine.State.getStateMachine().registerListener(this);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user