Skip to content

Commit ca45179

Browse files
author
Luke Bakken
committed
Address dialyzer whinging
1 parent 090d5dc commit ca45179

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/riak_repl_pb_get.erl

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ decode(?PB_MSG_GET_CLUSTER_ID, <<>>) ->
5656
encode(#rpbgetresp{} = Msg) ->
5757
{ok, riak_pb_codec:encode(Msg)};
5858
encode(#rpbreplgetclusteridresp{} = Msg) ->
59-
{ok,
60-
[?PB_MSG_RESP_CLUSTER_ID|riak_repl_pb:encode_rpbreplgetclusteridresp(Msg)]}.
59+
Resp = riak_repl_pb:encode_rpbreplgetclusteridresp(Msg),
60+
{ok, [?PB_MSG_RESP_CLUSTER_ID, Resp]}.
6161

6262
%% Process Protocol Buffer Requests
6363
%%

0 commit comments

Comments
 (0)