mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Fixed NPE in listVirtualMachines command - when search for ROOT volume's storagePool type, assume that corresponding storagePool might be removed.
This commit is contained in:
parent
efd4cfa297
commit
dadab81721
@ -394,7 +394,7 @@ public class ApiDBUtils {
|
||||
}
|
||||
|
||||
public static StoragePoolVO findStoragePoolById(Long storagePoolId) {
|
||||
return _storagePoolDao.findById(storagePoolId);
|
||||
return _storagePoolDao.findByIdIncludingRemoved(storagePoolId);
|
||||
}
|
||||
|
||||
public static VMTemplateVO findTemplateById(Long templateId) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user