Skip to content

Commit f670c6c

Browse files
All "*_reply" messages should have a "status" field
1 parent 90c1909 commit f670c6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/msg.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ msg_pub(m::Msg, msg_type, content, metadata=Dict{String,Any}()) =
3232
msg_header(m, msg_type), content, m.header, metadata)
3333

3434
msg_reply(m::Msg, msg_type, content, metadata=Dict{String,Any}()) =
35-
Msg(m.idents, msg_header(m, msg_type), content, m.header, metadata)
35+
Msg(m.idents, msg_header(m, msg_type), merge(Dict("status" => "ok"), content), m.header, metadata)
3636

3737
function show(io::IO, msg::Msg)
3838
print(io, "IPython Msg [ idents ")

0 commit comments

Comments
 (0)