mirror of https://github.com/apache/cloudstack.git
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:
parent
342931a538
commit
e6384be8e8
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Reference in New Issue