Skip to content

Commit 8b469f1

Browse files
authored
Apply suggestions from code review
1 parent 90468ae commit 8b469f1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

engine/orchestration/src/main/java/org/apache/cloudstack/engine/orchestration/NetworkOrchestrator.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3555,8 +3555,8 @@ public void reallyRun() {
35553555
final HashMap<Long, Long> stillFree = new HashMap<Long, Long>();
35563556

35573557
final List<Long> networkIds = _networksDao.findNetworksToGarbageCollect();
3558-
final int netGcWait = NumbersUtil.parseInt(_configDao.getValue(NetworkGcWait.key()), 60);
3559-
final int netGcInterval = NumbersUtil.parseInt(_configDao.getValue(NetworkGcInterval.key()), 60);
3558+
final int netGcWait = NetworkGcWait.value();
3559+
final int netGcInterval = NetworkGcInterval.value();
35603560
logger.info("NetworkGarbageCollector uses '{}' seconds for GC wait and '{}' seconds for GC interval.", netGcWait, netGcInterval);
35613561

35623562
for (final Long networkId : networkIds) {

0 commit comments

Comments
 (0)