cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From devd...@apache.org
Subject [2/2] git commit: updated refs/heads/master to 5510bca
Date Mon, 12 Aug 2013 13:07:33 GMT
CLOUDSTACK-4189: [UI] In multi zone setup, dedicating a single zone to a domain, shows other
zones dedicated as well


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/5510bca9
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/5510bca9
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/5510bca9

Branch: refs/heads/master
Commit: 5510bca9e5223730dc469b443b50d26550533360
Parents: ead3b84
Author: Saksham Srivastava <saksham.srivastava@citrix.com>
Authored: Mon Aug 12 17:23:29 2013 +0530
Committer: Devdeep Singh <devdeep@gmail.com>
Committed: Mon Aug 12 18:27:52 2013 +0530

----------------------------------------------------------------------
 server/src/com/cloud/dc/dao/DedicatedResourceDaoImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/5510bca9/server/src/com/cloud/dc/dao/DedicatedResourceDaoImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/dc/dao/DedicatedResourceDaoImpl.java b/server/src/com/cloud/dc/dao/DedicatedResourceDaoImpl.java
index c510860..266e65f 100644
--- a/server/src/com/cloud/dc/dao/DedicatedResourceDaoImpl.java
+++ b/server/src/com/cloud/dc/dao/DedicatedResourceDaoImpl.java
@@ -228,7 +228,7 @@ public class DedicatedResourceDaoImpl extends GenericDaoBase<DedicatedResourceVO
     public Pair<List<DedicatedResourceVO>, Integer> searchDedicatedZones(Long
dataCenterId, Long domainId, Long accountId){
         SearchCriteria<DedicatedResourceVO> sc = ListAllZonesSearch.create();
         if (dataCenterId != null) {
-            sc.setParameters("dataCenterId", dataCenterId);
+            sc.setParameters("zoneId", dataCenterId);
         }
         if(domainId != null) {
             sc.setParameters("domainId", domainId);


Mime
View raw message