def get_soa_cluster_deploy_files(service=None, soa_dir=DEFAULT_SOA_DIR, instance_type=None):
    if service is None:
        service = '*'
    service_path = os.path.join(soa_dir, service)

    if instance_type == 'marathon' or instance_type == 'chronos':
        instance_types = instance_type
    else:
        instance_types = 'marathon|chronos'

    search_re = r'/.*/(' + instance_types + r')-([0-9a-z-_]*)\.yaml$'

    for yaml_file in glob.glob(service_path % '%s/*.yaml'):
        cluster_re_match = re.search(search_re, yaml_file)
        if cluster_re_match is not None:
            cluster = cluster_re_match.group(2)
            yield (cluster, yaml_file)
dataset/ETHPy150Open Yelp/paasta/paasta_tools/utils.py/get_soa_cluster_deploy_files/swapped operands of `%`