Team, Either of the paths are doing the same thing for below if else, please check. This is observed under master.
if (srcPool.getType() != StoragePoolType.RBD) {
newDisk = destPool.createPhysicalDisk(name,
Storage.ProvisioningType.THIN, disk.getVirtualSize());
} else {
newDisk = destPool.createPhysicalDisk(name,
Storage.ProvisioningType.THIN, disk.getVirtualSize());
}
Santhosh
