mirror of https://github.com/apache/cloudstack.git
bug 8513: creating volume from snapshot depends on the original volume
status 8513: resolved fixed
This commit is contained in:
parent
893f8b5f73
commit
569bbfe585
|
|
@ -1447,7 +1447,7 @@ public class StorageManagerImpl implements StorageManager, StorageService, Manag
|
|||
throw new ServerApiException(BaseCmd.PARAM_ERROR, "unable to find a snapshot with id " + snapshotId);
|
||||
}
|
||||
|
||||
VolumeVO vol = _volsDao.findById(snapshotCheck.getVolumeId());
|
||||
VolumeVO vol = _volsDao.findByIdIncludingRemoved(snapshotCheck.getVolumeId());
|
||||
zoneId = vol.getDataCenterId();
|
||||
diskOfferingId = vol.getDiskOfferingId();
|
||||
size = vol.getSize();
|
||||
|
|
|
|||
Loading…
Reference in New Issue