Commit e9ff229f authored by themylogin's avatar themylogin Committed by William Grzybowski
Browse files

Fix broken hold replication task logic

parent 5da60d61
Showing with 1 addition and 1 deletion
+1 -1
......@@ -481,7 +481,7 @@ class ZettareplService(Service):
for replication_task in await self.middleware.call("replication.query", [["transport", "!=", "LEGACY"],
["enabled", "=", True]]):
if replication_task["direction"] == "PUSH":
hold = True
hold = False
for source_dataset in replication_task["source_datasets"]:
hold_task_reason = self._hold_task_reason(pools, source_dataset)
if hold_task_reason:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment