Updated Branches:
  refs/heads/master c7976b668 -> 19321d4ee

CLOUDSTACK-2629: ListRouters with networkid throws exception.

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

Branch: refs/heads/master
Commit: 19321d4eeb7accd2bd67af1c8b2c2a5988a23ac0
Parents: c7976b6
Author: Min Chen <min.c...@citrix.com>
Authored: Wed May 22 15:27:04 2013 -0700
Committer: Min Chen <min.c...@citrix.com>
Committed: Wed May 22 15:27:04 2013 -0700

----------------------------------------------------------------------
 .../src/com/cloud/api/query/QueryManagerImpl.java  |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/19321d4e/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 a126925..c586a7b 100644
--- a/server/src/com/cloud/api/query/QueryManagerImpl.java
+++ b/server/src/com/cloud/api/query/QueryManagerImpl.java
@@ -1095,7 +1095,7 @@ public class QueryManagerImpl extends ManagerBase 
implements QueryService {
         }
 
         if (networkId != null) {
-            sc.setJoinParameters("nicSearch", "networkId", networkId);
+            sc.setParameters("networkId", networkId);
         }
 
         if (vpcId != null) {

Reply via email to