Fixed rolling restart on VPC network (#4272)

This PR fixes the problem where restarting a network with cleanup within a VPC destroys the VR first before creating a new one.

Fixes: #3815
This commit is contained in:
Spaceman1984 2020-08-25 11:49:51 +02:00 committed by GitHub
parent cddf69c0f8
commit c4922c4289
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -200,6 +200,7 @@ public class VpcVirtualRouterElement extends VirtualRouterElement implements Vpc
if (network.isRollingRestart()) {
params.put(VirtualMachineProfile.Param.RollingRestart, true);
vpc.setRollingRestart(true);
}
final RouterDeploymentDefinition routerDeploymentDefinition = routerDeploymentDefinitionBuilder.create()