summaryrefslogtreecommitdiff
path: root/src/fabric_delete.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/fabric_delete.erl')
-rw-r--r--src/fabric_delete.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fabric_delete.erl b/src/fabric_delete.erl
index d2ee47e8..674f09ad 100644
--- a/src/fabric_delete.erl
+++ b/src/fabric_delete.erl
@@ -35,7 +35,7 @@ delete_db(DbName, Options) ->
%% @doc delete the partitions on all appropriate nodes (rexi calls)
-spec send_calls(binary(), list(), fullmap()) -> [{reference(), part()}].
send_calls(DbName, Options, Parts) ->
- lists:map(fun(#part{node=Node, b=Beg} = Part) ->
+ lists:map(fun(#shard{node=Node, range=[Beg,_]} = Part) ->
ShardName = showroom_utils:shard_name(Beg, DbName),
Ref = rexi:async_server_call({couch_server, Node},
{delete, ShardName, Options}),