File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
plugins/hypervisors/kvm/src/main/java/com/cloud/ha Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change 3939import org .apache .log4j .Logger ;
4040
4141import javax .inject .Inject ;
42- import java .util .Arrays ;
4342import java .util .List ;
4443
4544public class KVMInvestigator extends AdapterBase implements Investigator {
@@ -84,7 +83,7 @@ public Status isAgentAlive(Host agent) {
8483 return haManager .getHostStatus (agent );
8584 }
8685
87- List <StoragePoolVO > clusterPools = _storagePoolDao .findPoolsInClusters ( Arrays . asList ( agent .getClusterId ()), null );
86+ List <StoragePoolVO > clusterPools = _storagePoolDao .listPoolsByCluster ( agent .getClusterId ());
8887 boolean storageSupportHA = storageSupportHa (clusterPools );
8988 if (!storageSupportHA ) {
9089 List <StoragePoolVO > zonePools = _storagePoolDao .findZoneWideStoragePoolsByHypervisor (agent .getDataCenterId (), agent .getHypervisorType ());
You can’t perform that action at this time.
0 commit comments