CLOUDSTACK-1575 Failed to transit volume with uploadVolume

Signed-off-by: Abhinandan Prateek <aprateek@apache.org>
This commit is contained in:
Deepti Dohare 2013-03-12 12:13:26 +05:30 committed by Abhinandan Prateek
parent a49261c3b1
commit 27b753a434

View File

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