Skip to content

Commit

Permalink
Merge pull request basho#190 from basho/bugfix/cs2-delete-wrong-key
Browse files Browse the repository at this point in the history
CS2 driver: Use key for object to delete object
  • Loading branch information
kuenishi committed Aug 11, 2015
2 parents 3474bbf + c9a3cde commit 36cf4df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/basho_bench_driver_cs2.erl
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ run(put_delete, KeyGen, ValueGen,
{User, ObjectKey} = decompose_key(UserCount, Key),
case do_put(NextUrl, ObjectKey, ValueGen, HostBase, User, State) of
ok ->
case do_delete(NextUrl, Key, HostBase, User, State) of
case do_delete(NextUrl, ObjectKey, HostBase, User, State) of
ok ->
{ok, NewState};
{error, Reason} ->
Expand Down

0 comments on commit 36cf4df

Please sign in to comment.