cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alena1...@apache.org
Subject [1/2] git commit: updated refs/heads/master to 2072026
Date Thu, 20 Jun 2013 17:38:05 GMT
Updated Branches:
  refs/heads/master cd221fc33 -> 207202634


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/20720263
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/20720263
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/20720263

Branch: refs/heads/master
Commit: 207202634079ecdd88dbe4f94ac06e9aecc85d2c
Parents: bf33106
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:37:59 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/20720263/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 9bd8f2a..a4f0296 100644
--- a/server/src/com/cloud/api/query/QueryManagerImpl.java
+++ b/server/src/com/cloud/api/query/QueryManagerImpl.java
@@ -1086,7 +1086,7 @@ public class QueryManagerImpl extends ManagerBase implements QueryService
{
         _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