bug 8513: creating volume from snapshot depends on the original volume

status 8513: resolved fixed
This commit is contained in:
anthony 2011-02-16 15:47:05 -08:00
parent 893f8b5f73
commit 569bbfe585
1 changed files with 1 additions and 1 deletions

View File

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