shwstppr commented on code in PR #6840:
URL: https://github.com/apache/cloudstack/pull/6840#discussion_r1086657699


##########
plugins/hypervisors/simulator/src/main/java/com/cloud/agent/manager/MockAgentManagerImpl.java:
##########
@@ -106,7 +111,13 @@ public class MockAgentManagerImpl extends ManagerBase 
implements MockAgentManage
 
     private Pair<String, Long> getPodCidr(long podId, long dcId) {
         try {
-
+            DataCenterVO zone = dcDao.findById(dcId);
+            if (DataCenter.Type.Edge.equals(zone.getType())) {
+                SecureRandom random = new SecureRandom();

Review Comment:
   removed new instance



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to