rohityadavcloud commented on code in PR #7877:
URL: https://github.com/apache/cloudstack/pull/7877#discussion_r1301328302


##########
server/src/main/java/com/cloud/network/router/NetworkHelperImpl.java:
##########
@@ -547,14 +547,12 @@ public DomainRouterVO deployRouter(final 
RouterDeploymentDefinition routerDeploy
                 reallocateRouterNetworks(routerDeploymentDefinition, router, 
template, null);
                 router = _routerDao.findById(router.getId());
             } catch (final InsufficientCapacityException ex) {
-                if (allocateRetry < 2 && iter.hasNext()) {
+                if (iter.hasNext()) {

Review Comment:
   could it cause regression, where earlier for one hypervisor it was trying at 
least twice?



-- 
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