bundles/backup-server: ignore all nodes which don't have bundle:backup-client
This commit is contained in:
parent
9f0fc90679
commit
ec8802dd4a
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ def get_my_clients(metadata):
|
||||||
my_clients = {}
|
my_clients = {}
|
||||||
|
|
||||||
for rnode in repo.nodes:
|
for rnode in repo.nodes:
|
||||||
if rnode.metadata.get('backups/exclude_from_backups', False) or rnode.dummy:
|
if not rnode.has_bundle('backup-client'):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
my_clients[rnode.name] = {
|
my_clients[rnode.name] = {
|
||||||
|
|
Loading…
Reference in a new issue