This is an automated email from the ASF dual-hosted git repository.

dahn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack.git


The following commit(s) were added to refs/heads/master by this push:
     new 1d36b72  CLOUDSTACK-10120 : Allow migration of VM's from Cloudstack UI 
between the hosts with different version
1d36b72 is described below

commit 1d36b7288aefec446647ab67f8149750df43070b
Author: Nitesh Sarda <[email protected]>
AuthorDate: Wed Oct 25 20:45:15 2017 +0530

    CLOUDSTACK-10120 : Allow migration of VM's from Cloudstack UI between the 
hosts with different version
---
 server/src/com/cloud/server/ManagementServerImpl.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/src/com/cloud/server/ManagementServerImpl.java 
b/server/src/com/cloud/server/ManagementServerImpl.java
index b135b4e..da987ca 100644
--- a/server/src/com/cloud/server/ManagementServerImpl.java
+++ b/server/src/com/cloud/server/ManagementServerImpl.java
@@ -1432,7 +1432,7 @@ public class ManagementServerImpl extends ManagerBase 
implements ManagementServe
         sb.and("clusterId", sb.entity().getClusterId(), SearchCriteria.Op.EQ);
         sb.and("resourceState", sb.entity().getResourceState(), 
SearchCriteria.Op.EQ);
         sb.and("hypervisorType", sb.entity().getHypervisorType(), 
SearchCriteria.Op.EQ);
-        sb.and("hypervisorVersion", sb.entity().getHypervisorVersion(), 
SearchCriteria.Op.EQ);
+        sb.and("hypervisorVersion", sb.entity().getHypervisorVersion(), 
SearchCriteria.Op.GTEQ);
 
         final String haTag = _haMgr.getHaTag();
         SearchBuilder<HostTagVO> hostTagSearch = null;

-- 
To stop receiving notification emails like this one, please contact
['"[email protected]" <[email protected]>'].

Reply via email to