CLOUDSTACK-3737:

Delete the uploaded volume once its copied successfully to the primary storage.
Signed off by : nitin mehta<nitin.mehta@citrix.com>
This commit is contained in:
Nitin Mehta 2013-10-21 14:53:52 -07:00
parent 342931a538
commit e6384be8e8
1 changed files with 1 additions and 1 deletions

View File

@ -724,7 +724,7 @@ public class VolumeServiceImpl implements VolumeService {
srcVolume.processEvent(Event.OperationSuccessed);
destVolume.processEvent(Event.OperationSuccessed, result.getAnswer());
// srcVolume.getDataStore().delete(srcVolume);
srcVolume.getDataStore().delete(srcVolume);
future.complete(res);
} catch (Exception e) {
res.setResult(e.toString());