Skip to content

Commit

Permalink
Merge pull request #933 from basho/bugfix/sdc/http-crdt-badarg
Browse files Browse the repository at this point in the history
Use binary_to_atom/2 instead of binary_to_existing_atom/2.
  • Loading branch information
seancribbs committed May 9, 2014
2 parents a547c7e + 2bab35b commit 0ba6934
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/riak_kv_crdt_json.erl
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ set_op_from_json({Verb, BinList}=Op) when is_list(BinList), (Verb == <<"add_all"
Verb == <<"remove_all">>)->
case check_set_members(BinList) of
true ->
{binary_to_existing_atom(Verb, utf8), BinList};
{binary_to_atom(Verb, utf8), BinList};
false ->
bad_op(set, Op)
end;
Expand Down

0 comments on commit 0ba6934

Please sign in to comment.