diff options
author | Adam Kocoloski <adam@cloudant.com> | 2010-06-09 15:36:58 -0400 |
---|---|---|
committer | Adam Kocoloski <adam@cloudant.com> | 2010-06-09 15:36:58 -0400 |
commit | 00e161c34b6fc71c09ffe376d6c8b9512814216a (patch) | |
tree | aa6f254b4f68944b895ab41433b891340c201121 /src/fabric_view_map.erl | |
parent | a4cd71dec2ca37cfca9a7ac15b3ff31f47cd11d7 (diff) |
bunch o' updates
- fabric view group info
- send user_ctx to fabric on update_docs requests
- send 403s for compaction and view cleanup
Diffstat (limited to 'src/fabric_view_map.erl')
-rw-r--r-- | src/fabric_view_map.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fabric_view_map.erl b/src/fabric_view_map.erl index b20a0f39..e152c2ed 100644 --- a/src/fabric_view_map.erl +++ b/src/fabric_view_map.erl @@ -1,10 +1,10 @@ -module(fabric_view_map). --export([go/5]). +-export([go/6]). -include("fabric.hrl"). -go(DbName, {GroupId, View}, Args, Callback, Acc0) -> +go(DbName, GroupId, View, Args, Callback, Acc0) -> {ok, DDoc} = fabric:open_doc(DbName, <<"_design/", GroupId/binary>>, []), Workers = lists:map(fun(#shard{name=Name, node=Node} = Shard) -> Ref = rexi:cast(Node, {fabric_rpc, map_view, [Name, DDoc, View, Args]}), |