Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
5588780887
|
|||
b0758a6b8b
|
@ -369,9 +369,9 @@ def main():
|
||||
try:
|
||||
if remote in remote_snapshots:
|
||||
remote_snapshots[remote] = zsnaplib.get_snapshots(zfs_cmd)
|
||||
except zsnaplib.ZFSSnapshotError:
|
||||
except zsnaplib.ZFSSnapshotError as e:
|
||||
del remote_snapshots[remote]
|
||||
log.warning("Could not refresh snapshots on {}".format(remote))
|
||||
log.warning("Could not refresh snapshots on {}: {}".format(remote, e))
|
||||
snapshots = zsnaplib.get_snapshots(local_zfs_cmd)
|
||||
|
||||
failed_send = send_snapshots(fslist, snapshots, config)
|
||||
|
@ -83,7 +83,7 @@ def get_filesystems(zfs_cmd):
|
||||
|
||||
for row in out.splitlines():
|
||||
row = row.decode('UTF-8')
|
||||
ret.add(row.split()[0])
|
||||
ret.add(row.split('\t')[0])
|
||||
return ret
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user