Skip to content

Commit

Permalink
Merge remote-tracking branch 'apache/main' into 4.20-dynamic-routing
Browse files Browse the repository at this point in the history
  • Loading branch information
weizhouapache committed Aug 22, 2024
2 parents 99c8823 + b215abc commit 7700716
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ public boolean check(VirtualMachineProfile vmProfile, DeployDestination plannedD
VirtualMachine vm = vmProfile.getVirtualMachine();

List<AffinityGroupVMMapVO> vmGroupMappings = _affinityGroupVMMapDao.findByVmIdType(vm.getId(), getType());
if (CollectionUtils.isEmpty(vmGroupMappings)) {
return true;
}

for (AffinityGroupVMMapVO vmGroupMapping : vmGroupMappings) {
// if more than 1 VM's are present in the group then check for
Expand Down

0 comments on commit 7700716

Please sign in to comment.