bundles/backup-client: use set instead of list
This commit is contained in:
parent
60fc0e64e7
commit
9a6be52b05
1 changed files with 2 additions and 2 deletions
|
@ -19,12 +19,12 @@ else:
|
|||
|
||||
if node.metadata.get('backups/exclude_from_backups', False):
|
||||
# make sure nobody tries to do something funny
|
||||
for file in [
|
||||
for file in {
|
||||
'/etc/backup.priv',
|
||||
'/usr/local/bin/generate-backup',
|
||||
'/usr/local/bin/generate-backup-with-retries',
|
||||
'/var/tmp/backup.monitoring', # status file
|
||||
]:
|
||||
}:
|
||||
files[file] = {
|
||||
'delete': True,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue