Skip to content

Commit 2eceb7d

Browse files
Sakshamsdevdeep
authored andcommitted
CLOUDSTACK-4189: [UI] In multi zone setup, dedicating a single zone to a domain, shows other zones dedicated as well
1 parent 86d2e8b commit 2eceb7d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎server/src/com/cloud/dc/dao/DedicatedResourceDaoImpl.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ public Pair<List<DedicatedResourceVO>, Integer> searchDedicatedZones(Long dataCe
238238
Long accountId, Long affinityGroupId) {
239239
SearchCriteria<DedicatedResourceVO> sc = ListAllZonesSearch.create();
240240
if (dataCenterId != null) {
241-
sc.setParameters("dataCenterId", dataCenterId);
241+
sc.setParameters("zoneId", dataCenterId);
242242
}
243243
if (affinityGroupId != null) {
244244
sc.setParameters("affinityGroupId", affinityGroupId);

0 commit comments

Comments
 (0)