You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by mc...@apache.org on 2013/08/08 19:16:11 UTC
git commit: updated refs/heads/master to 1a194ef
Updated Branches:
refs/heads/master ed70eaf2c -> 1a194ef72
CLOUDSTACK-1405:ZWPS: listStoragePool API doesn't accept scope parameter
.
Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/1a194ef7
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/1a194ef7
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/1a194ef7
Branch: refs/heads/master
Commit: 1a194ef725aef83ab352ff6a6e69d5c7ab9bda82
Parents: ed70eaf
Author: Min Chen <mi...@citrix.com>
Authored: Thu Aug 8 10:07:50 2013 -0700
Committer: Min Chen <mi...@citrix.com>
Committed: Thu Aug 8 10:10:15 2013 -0700
----------------------------------------------------------------------
server/src/com/cloud/api/query/QueryManagerImpl.java | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cloudstack/blob/1a194ef7/server/src/com/cloud/api/query/QueryManagerImpl.java
----------------------------------------------------------------------
diff --git a/server/src/com/cloud/api/query/QueryManagerImpl.java b/server/src/com/cloud/api/query/QueryManagerImpl.java
index 45f1c69..6a6d3e7 100644
--- a/server/src/com/cloud/api/query/QueryManagerImpl.java
+++ b/server/src/com/cloud/api/query/QueryManagerImpl.java
@@ -1970,6 +1970,7 @@ public class QueryManagerImpl extends ManagerBase implements QueryService {
sb.and("podId", sb.entity().getPodId(), SearchCriteria.Op.EQ);
sb.and("clusterId", sb.entity().getClusterId(), SearchCriteria.Op.EQ);
sb.and("hostAddress", sb.entity().getHostAddress(), SearchCriteria.Op.EQ);
+ sb.and("scope", sb.entity().getScope(), SearchCriteria.Op.EQ);
SearchCriteria<StoragePoolJoinVO> sc = sb.create();