mirror of
https://github.com/openvswitch/ovs
synced 2025-08-22 09:58:01 +00:00
jsonrpc-server: Report monitor session ID properly in error message.
The error message in question is about the monitor session ID but it actually reports the JSON-RPC request ID instead, which is surprising. Found by inspection. Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Justin Pettit <jpettit@ovn.org>
This commit is contained in:
parent
f0e65e6702
commit
a01ca4ee69
@ -1415,7 +1415,7 @@ ovsdb_jsonrpc_monitor_cond_change(struct ovsdb_jsonrpc_session *s,
|
||||
|
||||
m = ovsdb_jsonrpc_monitor_find(s, params->u.array.elems[0]);
|
||||
if (!m) {
|
||||
error = ovsdb_syntax_error(request_id, NULL,
|
||||
error = ovsdb_syntax_error(params->u.array.elems[0], NULL,
|
||||
"unknown monitor session");
|
||||
goto error;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user