mirror of
https://github.com/apache/cloudstack
synced 2026-08-27 16:23:41 +00:00
Fix redundant router switch back to single router
The existed redundant router network didn't change.
This commit is contained in:
parent
88a1c69413
commit
f28291cedb
@ -876,7 +876,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
Block a user