Fix emqx_rpc:cast badmatch
This commit is contained in:
parent
b8929a46c1
commit
62bbe0079c
|
@ -886,7 +886,7 @@ deliver(PacketId, Msg, State) ->
|
||||||
do_deliver(PacketId, Msg, #state{conn_pid = ConnPid, binding = local}) ->
|
do_deliver(PacketId, Msg, #state{conn_pid = ConnPid, binding = local}) ->
|
||||||
ConnPid ! {deliver, {publish, PacketId, Msg}}, ok;
|
ConnPid ! {deliver, {publish, PacketId, Msg}}, ok;
|
||||||
do_deliver(PacketId, Msg, #state{conn_pid = ConnPid, binding = remote}) ->
|
do_deliver(PacketId, Msg, #state{conn_pid = ConnPid, binding = remote}) ->
|
||||||
emqx_rpc:cast(node(ConnPid), erlang, send, [ConnPid, {deliver, {publish, PacketId, Msg}}]).
|
emqx_rpc:cast(node(ConnPid), erlang, send, [ConnPid, {deliver, {publish, PacketId, Msg}}]), ok.
|
||||||
|
|
||||||
%%------------------------------------------------------------------------------
|
%%------------------------------------------------------------------------------
|
||||||
%% Awaiting ACK for QoS1/QoS2 Messages
|
%% Awaiting ACK for QoS1/QoS2 Messages
|
||||||
|
|
Loading…
Reference in New Issue