fix db select

This commit is contained in:
Edison Su 2013-05-03 15:44:38 -07:00
parent acafccfbc6
commit 23d6f12e9a
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ public class DefaultEndPointSelector implements EndPointSelector {
HostDao hostDao;
private String findOneHostInaScope = "select id from host where "
+ " status = 'Up' and hypervisor_type != 'VMware' and type in ('Routing', 'SecondaryStorageVM') ";
private String findOneHostOnPrimaryStorage = "select id from host where"
private String findOneHostOnPrimaryStorage = "select id from host where "
+ "status = 'Up' and type = 'Routing' ";
protected boolean moveBetweenPrimaryImage(DataStore srcStore,