cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alena1...@apache.org
Subject [2/2] git commit: updated refs/heads/master-6-17-stable to db4969e
Date Thu, 20 Jun 2013 17:39:28 GMT
CLOUDSTACK-3088: fixed listRouters/listInternalLbVms by name


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

Branch: refs/heads/master-6-17-stable
Commit: db4969e3d67e0d0c943ece4fcc1d6094ba1f7d71
Parents: 121c1c7
Author: Alena Prokharchyk <alena.prokharchyk@citrix.com>
Authored: Thu Jun 20 10:36:40 2013 -0700
Committer: Alena Prokharchyk <alena.prokharchyk@citrix.com>
Committed: Thu Jun 20 10:39:19 2013 -0700

----------------------------------------------------------------------
 server/src/com/cloud/api/query/QueryManagerImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/db4969e3/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 c851e3b..8605c08 100644
--- a/server/src/com/cloud/api/query/QueryManagerImpl.java
+++ b/server/src/com/cloud/api/query/QueryManagerImpl.java
@@ -1028,7 +1028,7 @@ public class QueryManagerImpl extends ManagerBase implements QueryService
{
         // pagination
         _accountMgr.buildACLViewSearchBuilder(sb, domainId, isRecursive, permittedAccounts,
listProjectResourcesCriteria);
 
-        sb.and("name", sb.entity().getHostName(), SearchCriteria.Op.LIKE);
+        sb.and("name", sb.entity().getInstanceName(), SearchCriteria.Op.LIKE);
         sb.and("id", sb.entity().getId(), SearchCriteria.Op.EQ);
         sb.and("accountId", sb.entity().getAccountId(), SearchCriteria.Op.IN);
         sb.and("state", sb.entity().getState(), SearchCriteria.Op.EQ);


Mime
View raw message