mirror of
https://github.com/apache/cloudstack
synced 2026-08-29 16:44:23 +00:00
CLOUDSTACK-4189: [UI] In multi zone setup, dedicating a single zone to a domain, shows other zones dedicated as well
This commit is contained in:
parent
86d2e8bdae
commit
2eceb7dcbe
@ -238,7 +238,7 @@ public class DedicatedResourceDaoImpl extends GenericDaoBase<DedicatedResourceVO
|
||||
Long accountId, Long affinityGroupId) {
|
||||
SearchCriteria<DedicatedResourceVO> sc = ListAllZonesSearch.create();
|
||||
if (dataCenterId != null) {
|
||||
sc.setParameters("dataCenterId", dataCenterId);
|
||||
sc.setParameters("zoneId", dataCenterId);
|
||||
}
|
||||
if (affinityGroupId != null) {
|
||||
sc.setParameters("affinityGroupId", affinityGroupId);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user