mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
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…
x
Reference in New Issue
Block a user