Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
core: fix copying from MBS to image domain
There is no need to reconstruct the sourceDisk as ManagedBlockDisk as it is already of this type if the source domain is a Managed Block Storage Domain, and it will fail later on as the conversion method createManagedBlockDiskFromDiskImage assigns the target's id to the constructed object which is incorrect, as this is the source disk. Signed-off-by: Benny Zlotnik <bzlotnik@redhat.com>
- Loading branch information