Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
truenas-rk3588
truenas
Commits
e9ff229f
Commit
e9ff229f
authored
5 years ago
by
themylogin
Committed by
William Grzybowski
5 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Fix broken hold replication task logic
parent
5da60d61
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/middlewared/middlewared/plugins/zettarepl.py
+1
-1
src/middlewared/middlewared/plugins/zettarepl.py
with
1 addition
and
1 deletion
+1
-1
src/middlewared/middlewared/plugins/zettarepl.py
View file @
e9ff229f
...
...
@@ -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
=
Tru
e
hold
=
Fals
e
for
source_dataset
in
replication_task
[
"source_datasets"
]:
hold_task_reason
=
self
.
_hold_task_reason
(
pools
,
source_dataset
)
if
hold_task_reason
:
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help