mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-25 17:22:33 +02: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
|
||||
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user