@staticmethod
def list() -> dict:
    'List the backup cluster found in the settings'
    settings = {}
    for path in ClusterSettings.directory.glob('*.yaml'):
        cluster = path.stem
        settings[cluster] = {'path': path}
        try:
            settings[cluster]['config_status'] = 'success'
        except KeyError as err:
            log.error(err)
            settings[cluster]['config'] = {}
            settings[cluster]['config_status'] = 'failure'
    return settings
List the backup cluster found in the settings
@staticmethod
def list() -> dict:
    
    settings = {}
    for path in ClusterSettings.directory.glob('*.yaml'):
        cluster = path.stem
        settings[cluster] = {'path': path}
        try:
            settings[cluster]['config_status'] = 'success'
        except KeyError as err:
            log.error(err)
            settings[cluster]['config'] = {}
            settings[cluster]['config_status'] = 'failure'
    return settings