mirror of
https://github.com/aljazceru/plugins.git
synced 2026-01-07 23:34:20 +01:00
probe: change parameters order to allow threading
Otherwise the thread start() would return 'probe(): missing one positionnal argument'
This commit is contained in:
committed by
Christian Decker
parent
94c641ea58
commit
0c217383e8
@@ -86,7 +86,7 @@ def start_probe(plugin):
|
||||
|
||||
|
||||
@plugin.async_method('probe')
|
||||
def probe(request, plugin, node_id=None, **kwargs):
|
||||
def probe(plugin, request, node_id=None, **kwargs):
|
||||
res = None
|
||||
if node_id is None:
|
||||
nodes = plugin.rpc.listnodes()['nodes']
|
||||
|
||||
Reference in New Issue
Block a user