def _runtime_url(url, cluster):
    if url.startswith(m.MANILA_PREFIX) and cluster:
        path = shares_service.get_share_path(url, cluster.shares or [])
        if path is None:
            path = mount_share_at_default_path(url, cluster)
        # This gets us the mount point, but we need a file:// scheme to
        # indicate a local filesystem path
        return "file://{path}".format(path=path)
    return url
dataset/ETHPy150Open openstack/sahara/sahara/service/edp/job_utils.py/_runtime_url/original