(check_name)
return []
Load the service checks into a list of dicts, if available.
Load the service checks into a list of dicts, if available.
Load the service checks into a list of dicts if available .
def load_service_checks(check_name):
    """
    Load the service checks into a list of dicts, if available.
    """
    # Note: currently only loads the first available service check file.
    # needs expansion if we ever end up supporting multiple files
    service_check, _ = get_assets_from_manifest(check_name, 'service_checks')
    if service_check:
        return json.loads(read_file(service_check[0]).strip())
    return []
def load_service_checks ( check_name ) : # Note: currently only loads the first available service check file. # needs expansion if we ever end up supporting multiple files service_check , _ = get_assets_from_manifest ( check_name , 'service_checks' ) if service_check : return json . loads ( read_file ( service_check [ 0 ] ) . strip ( ) ) return [ ]