Skip to content

Commit

Permalink
Use the local metadata() type that handles R16/17.0 differences.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Cribbs committed May 29, 2014
1 parent 3523b14 commit babb1ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/riak_pb_kv_codec.erl
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ decode_content_meta(deleted, DeletedVal, _Pb) ->


%% @doc Convert an rpccontent pb message to an erlang {MetaData,Value} tuple
-spec decode_content(PBContent::tuple()) -> {dict(), binary()}.
-spec decode_content(PBContent::tuple()) -> {metadata(), binary()}.
decode_content(PbC) ->
MD = decode_content_meta(content_type, PbC#rpbcontent.content_type, PbC) ++
decode_content_meta(charset, PbC#rpbcontent.charset, PbC) ++
Expand Down

0 comments on commit babb1ba

Please sign in to comment.