mirror of https://github.com/apache/cloudstack.git
one more fix about deletestoragepool
set uuid of storagepoolvo to null
This commit is contained in:
parent
1b477750e0
commit
173b30233d
|
|
@ -1314,6 +1314,8 @@ public class StorageManagerImpl implements StorageManager {
|
|||
|
||||
// if not records exist, delete the given pool (base case)
|
||||
if (hostPoolRecords.size() == 0) {
|
||||
sPool.setUuid(null);
|
||||
_storagePoolDao.update(id, sPool);
|
||||
_storagePoolDao.remove(id);
|
||||
return true;
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in New Issue