probe: change parameters order to allow threading

Otherwise the thread start() would return 'probe(): missing one positionnal argument'
This commit is contained in:
darosior
2019-09-10 21:05:32 +02:00
committed by Christian Decker
parent 94c641ea58
commit 0c217383e8

View File

@@ -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']