From c9a3cde9b204e6540887fbef7d1971a5e2ced320 Mon Sep 17 00:00:00 2001 From: Shunichi Shinohara Date: Tue, 11 Aug 2015 10:29:27 +0900 Subject: [PATCH] Use key for object to delete object --- src/basho_bench_driver_cs2.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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} ->