mirror of https://github.com/apache/cloudstack.git
Re-add affinity group (#4405)
This commit is contained in:
parent
644731edad
commit
4c936b4690
|
|
@ -976,6 +976,10 @@ public class QueryManagerImpl extends MutualExclusiveIdsManagerBase implements Q
|
|||
sb.and("poolId", sb.entity().getPoolId(), SearchCriteria.Op.EQ);
|
||||
}
|
||||
|
||||
if (affinityGroupId != null) {
|
||||
sb.and("affinityGroupId", sb.entity().getAffinityGroupId(), SearchCriteria.Op.EQ);
|
||||
}
|
||||
|
||||
if (keyPairName != null) {
|
||||
sb.and("keyPairName", sb.entity().getKeypairName(), SearchCriteria.Op.EQ);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue