summaryrefslogtreecommitdiff
path: root/apps/fabric/src/fabric_view_reduce.erl
diff options
context:
space:
mode:
Diffstat (limited to 'apps/fabric/src/fabric_view_reduce.erl')
-rw-r--r--apps/fabric/src/fabric_view_reduce.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/fabric/src/fabric_view_reduce.erl b/apps/fabric/src/fabric_view_reduce.erl
index ddde9f22..4b2d4c80 100644
--- a/apps/fabric/src/fabric_view_reduce.erl
+++ b/apps/fabric/src/fabric_view_reduce.erl
@@ -12,7 +12,7 @@ go(DbName, GroupId, View, Args, Callback, Acc0) when is_binary(GroupId) ->
go(DbName, DDoc, VName, Args, Callback, Acc0) ->
#group{def_lang=Lang, views=Views} = Group =
- couch_view_group:design_doc_to_view_group(#db{name=DbName}, DDoc),
+ couch_view_group:design_doc_to_view_group(DDoc),
{NthRed, View} = fabric_view:extract_view(nil, VName, Views, reduce),
{VName, RedSrc} = lists:nth(NthRed, View#view.reduce_funs),
Workers = lists:map(fun(#shard{name=Name, node=N} = Shard) ->