mirror of https://github.com/apache/cloudstack.git
Merge remote-tracking branch 'origin/4.14' into 4.15
This commit is contained in:
commit
fbc8610f6e
|
|
@ -3350,7 +3350,8 @@ public class VirtualMachineManagerImpl extends ManagerBase implements VirtualMac
|
|||
|
||||
final Answer rebootAnswer = cmds.getAnswer(RebootAnswer.class);
|
||||
if (rebootAnswer != null && rebootAnswer.getResult()) {
|
||||
if (dc.isSecurityGroupEnabled() && vm.getType() == VirtualMachine.Type.User) {
|
||||
boolean isVmSecurityGroupEnabled = _securityGroupManager.isVmSecurityGroupEnabled(vm.getId());
|
||||
if (isVmSecurityGroupEnabled && vm.getType() == VirtualMachine.Type.User) {
|
||||
List<Long> affectedVms = new ArrayList<Long>();
|
||||
affectedVms.add(vm.getId());
|
||||
_securityGroupManager.scheduleRulesetUpdateToHosts(affectedVms, true, null);
|
||||
|
|
|
|||
Loading…
Reference in New Issue