mirror of
https://github.com/zeek/zeek.git
synced 2025-10-16 21:48:21 +00:00
Align WebSocket error in cluster with one in Broker
The schema of cluster WebSocket error messages deviated from the existing one in Broker which breaks seamless migration from the Broker WebSocket bindings. This patch aligns the serialization in cluster with the one in Broker. This is technically a breaking change of the cluster schema, but since it never worked like documented and is still experimental this is probably fine. Closes #4594.
This commit is contained in:
parent
a22837536d
commit
e1acb246a5
4 changed files with 9 additions and 9 deletions
|
@ -1,4 +1,4 @@
|
|||
### BTest baseline data generated by btest-diff. Do not edit. Use "btest -U/-u" to update. Requires BTest >= 0.63.
|
||||
Connected ws_good!
|
||||
Connected ws_bad!
|
||||
Error for ws_bad {'type': 'error', 'code': 'invalid_uri', 'message': 'Invalid URI - use /v1/messages/json'}
|
||||
Error for ws_bad {'type': 'error', 'code': 'invalid_uri', 'context': 'Invalid URI - use /v1/messages/json'}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue