

def run(self, info=None, **kwargs):
    cfg = self.cloud.cloud_config.cloud
    image_res = image_id.cloud.resources[utl.IMAGE_RESOURCE]
    if image_res.config.image.convert_to_raw:
        return {
            
        }
    for instance_id in info[utl.INSTANCES_TYPE]:
        image_id = info[INSTANCES][instance_id][utl.INSTANCE_BODY]['image_id']
        images = image_res.get_image_by_id_converted(image_id=image_id)
        image = images[utl.IMAGES_TYPE][image_id]
        disk_format = image[utl.IMAGE_BODY]['disk_format']
        base_file = ('%s/%s' % (cfg.temp, ('temp%s_base' % instance_id)))
        if (disk_format.lower() != utl.RAW):
            self.convert_file_to_raw(cfg.ssh_host, disk_format, base_file)
    return {
        
    }

dataset/ETHPy150Open MirantisWorkloadMobility/CloudFerry/cloudferry/lib/os/actions/convert_file.py ConvertFile.run/VarMisuse@29/33 `self`->`image_id`