rohityadavcloud commented on code in PR #7877:
URL: https://github.com/apache/cloudstack/pull/7877#discussion_r1301328999
##########
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:
one suggestion could be reset the allocateRetry to 0 when iter.hasNext() is
true?
--
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]