bundles/backup-server: dummy nodes never do backups
Some checks failed
bundlewrap/pipeline/head There was a failure building this commit

This commit is contained in:
Franzi 2020-11-13 21:56:15 +01:00
parent 42133b92de
commit e515378497
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 8 additions and 3 deletions

View file

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