Fix volume copy from primary to primary in simulator (#11836)

This commit is contained in:
Harikrishna 2025-10-14 14:01:44 +05:30 committed by GitHub
parent f71d3a8e9f
commit c0a4392b05
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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