mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
bug 7988: fixing the sp state on delete
status 7988: resolved fixed
This commit is contained in:
parent
a9dd415995
commit
3406f4d5c0
@ -1450,6 +1450,7 @@ public class StorageManagerImpl implements StorageManager, StorageService, Manag
|
||||
_storagePoolHostDao.deleteStoragePoolHostDetails(host.getHostId(),host.getPoolId());
|
||||
}
|
||||
sPool.setUuid(null);
|
||||
sPool.setStatus(Status.Removed);
|
||||
_storagePoolDao.update(id, sPool);
|
||||
_storagePoolDao.remove(id);
|
||||
return true;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user