return success if snapshots not sent because health check fails.
This commit is contained in:
@ -375,8 +375,6 @@ def main():
|
|||||||
snapshots = zsnaplib.get_snapshots(local_zfs_cmd)
|
snapshots = zsnaplib.get_snapshots(local_zfs_cmd)
|
||||||
|
|
||||||
failed_send = send_snapshots(fslist, snapshots, config)
|
failed_send = send_snapshots(fslist, snapshots, config)
|
||||||
if failed_send:
|
|
||||||
ret = RET_CODES['ERROR']
|
|
||||||
failed_snapshots.update(failed_send)
|
failed_snapshots.update(failed_send)
|
||||||
for remote in remotes.keys():
|
for remote in remotes.keys():
|
||||||
failed_send = send_snapshots(
|
failed_send = send_snapshots(
|
||||||
|
Reference in New Issue
Block a user