bundles/backup-server: of course, we need to ignore hosts which have exclude_from_backups set
All checks were successful
bundlewrap/pipeline/head This commit looks good

This commit is contained in:
Franzi 2021-01-16 22:22:51 +01:00
parent ad84f62c0d
commit 39aabd0546
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -14,7 +14,7 @@ def get_my_clients(metadata):
my_clients = {} my_clients = {}
for rnode in repo.nodes: for rnode in repo.nodes:
if not rnode.has_bundle('backup-client'): if not rnode.has_bundle('backup-client') or rnode.metadata.get('backups/exclude_from_backups', False):
continue continue
my_clients[rnode.name] = { my_clients[rnode.name] = {