mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Fix volume copy from primary to primary in simulator (#11836)
This commit is contained in:
parent
f71d3a8e9f
commit
c0a4392b05
@ -270,7 +270,11 @@ public class SimulatorStorageProcessor implements StorageProcessor {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Answer copyVolumeFromPrimaryToPrimary(CopyCommand cmd) {
|
public Answer copyVolumeFromPrimaryToPrimary(CopyCommand cmd) {
|
||||||
return null;
|
VolumeObjectTO volume = new VolumeObjectTO();
|
||||||
|
volume.setPath(UUID.randomUUID().toString());
|
||||||
|
volume.setSize(100);
|
||||||
|
volume.setFormat(Storage.ImageFormat.RAW);
|
||||||
|
return new CopyCmdAnswer(volume);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user