Skip to content
Snippets Groups Projects
Commit 67e2c090 authored by wactbprot's avatar wactbprot
Browse files

add simple pass branch in relay request return fn

parent fb79f67a
No related branches found
No related tags found
No related merge requests found
...@@ -62,6 +62,10 @@ class Worker(System): ...@@ -62,6 +62,10 @@ class Worker(System):
self.aset('result', line, res['Result'], expire=False) self.aset('result', line, res['Result'], expire=False)
ok = True ok = True
if 'ok' in res:
# simple pass for config or init tasks
ok = True
if 'ToExchange' in res: if 'ToExchange' in res:
self.aset('exchange', line, res['ToExchange'], expire=False) self.aset('exchange', line, res['ToExchange'], expire=False)
ok = True ok = True
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment