mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
CLOUDSTACK-1575 Failed to transit volume with uploadVolume
Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
This commit is contained in:
parent
a49261c3b1
commit
27b753a434
@ -567,7 +567,6 @@ public class VolumeServiceImpl implements VolumeService {
|
||||
|
||||
AsyncCallFuture<VolumeApiResult> future = new AsyncCallFuture<VolumeApiResult>();
|
||||
VolumeObject vo = (VolumeObject) volume;
|
||||
vo.stateTransit(Volume.Event.UploadRequested);
|
||||
|
||||
CreateVolumeContext<VolumeApiResult> context = new CreateVolumeContext<VolumeApiResult>(null, vo, future);
|
||||
AsyncCallbackDispatcher<VolumeServiceImpl, CreateCmdResult> caller = AsyncCallbackDispatcher.create(this);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user