def get_default_instance_type():
    """Get the default instance type."""
    name = FLAGS.default_instance_type
    try:
        return get_instance_type_by_name(name)
    except exception.DBError:
        raise exception.ApiError(name % _("Unknown instance type: %s"))
dataset/ETHPy150Open nii-cloud/dodai-compute/nova/compute/instance_types.py/get_default_instance_type/swapped operands of `%`