mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
bug 14694: when select valid clusters, exclude the removed ones
status 14694: resolved fixed
This commit is contained in:
parent
cdd37ed5dd
commit
2feafb18a0
@ -690,7 +690,7 @@ public class Upgrade2214to30 implements DbUpgrade {
|
||||
try{
|
||||
//Get all hypervisors in use
|
||||
try {
|
||||
pstmt = conn.prepareStatement("select distinct(hypervisor_type) from `cloud`.`cluster`");
|
||||
pstmt = conn.prepareStatement("select distinct(hypervisor_type) from `cloud`.`cluster` where removed is null");
|
||||
rs = pstmt.executeQuery();
|
||||
while(rs.next()){
|
||||
if("XenServer".equals(rs.getString(1))){
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user