This commit is contained in:
Edwin Eefting 2015-12-03 10:45:31 +01:00
parent eabd740830
commit 3321955d6d

View File

@ -198,6 +198,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)