bug 7988: fixing the sp state on delete

status 7988: resolved fixed
This commit is contained in:
abhishek 2011-01-13 17:21:03 -08:00
parent a9dd415995
commit 3406f4d5c0

View File

@ -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;