This commit is contained in:
Edwin Eefting
2015-12-30 17:38:55 +01:00
2 changed files with 3 additions and 1 deletions

View File

@ -200,6 +200,8 @@ def zfs_get_snapshots(ssh_to, filesystems, backup_name):
if ssh_to in test_snapshots:
for filesystem in filesystems:
if filesystem in test_snapshots[ssh_to]:
if not filesystem in ret:
ret[filesystem]=[]
ret[filesystem].extend(test_snapshots[ssh_to][filesystem])
return(ret)