Re-add affinity group (#4405)

This commit is contained in:
Gabriel Beims Bräscher 2020-10-16 04:16:19 -03:00 committed by GitHub
parent 644731edad
commit 4c936b4690
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);
}