Commit 58b17ada authored by Xavier Thompson's avatar Xavier Thompson Committed by Kirill Smelkov

amari: Fix message sending to include arguments

Fix `amari.Conn._send_msg` to include the arguments in the message sent.
Without it, logspec options such as `stats[samples,rf]/60s` are ignored.

/reviewed-by @kirr
/reviewed-on kirr/xlte!1
parent b3370cd8
......@@ -214,6 +214,7 @@ class Conn:
assert msgid not in conn._rxtab
conn._rxtab[msgid] = (msg, rxq)
d = {'message': msg, 'message_id': msgid}
d.update(args_dict)
jmsg = json.dumps(d)
try:
conn._ws.send(jmsg)
......
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