Skip to content

Commit 090d5dc

Browse files
author
Doug Rohrer
committed
Fix dialyzer issue with binary vs. iolist.
1 parent d062347 commit 090d5dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/riak_repl_pb_get.erl

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ process(#rpbreplgetclusteridreq{}, State) ->
6868
ClusterId = lists:flatten(
6969
io_lib:format("~p", [riak_core_ring:cluster_name(Ring)])),
7070
lager:debug("Repl PB: returning cluster id ~p", [ClusterId]),
71-
{reply, #rpbreplgetclusteridresp{cluster_id = ClusterId}, State};
71+
{reply, #rpbreplgetclusteridresp{cluster_id = list_to_binary(ClusterId)}, State};
7272
%% @doc Return Key/Value pair, derived from the KV version
7373
process(#rpbreplgetreq{bucket=B, key=K, r=R0, pr=PR0, notfound_ok=NFOk,
7474
basic_quorum=BQ, if_modified=VClock,

0 commit comments

Comments
 (0)