diff --git a/src/basho_bench_driver_cs2.erl b/src/basho_bench_driver_cs2.erl index 0edb42dfb..d6860a2b8 100644 --- a/src/basho_bench_driver_cs2.erl +++ b/src/basho_bench_driver_cs2.erl @@ -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} ->