mirror of https://github.com/apache/cloudstack.git
Fix redundant router switch back to single router
The existed redundant router network didn't change.
This commit is contained in:
parent
4da9b6bfb4
commit
333510db0e
|
|
@ -874,7 +874,8 @@ public class VirtualNetworkApplianceManagerImpl implements VirtualNetworkApplian
|
|||
}
|
||||
}
|
||||
|
||||
if (routers.size() == routerCount) {
|
||||
/* If old network is redundant but new is single router, then routers.size() = 2 but routerCount = 1 */
|
||||
if (routers.size() >= routerCount) {
|
||||
return routers;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue