Change FoldBucketsFun to take just bucket
FoldBucketsFun does not take keys should be a 2-arity function (Bucket, Acc).
This commit is contained in:
parent
acdc702e7d
commit
51dbad95c0
2 changed files with 4 additions and 4 deletions
|
@ -113,7 +113,7 @@ small_load_with2i(_Config) ->
|
|||
Total2 = Sum2(),
|
||||
true = Total2 == Total1,
|
||||
|
||||
FoldBucketsFun = fun(B, _K, Acc) -> sets:add_element(B, Acc) end,
|
||||
FoldBucketsFun = fun(B, Acc) -> sets:add_element(B, Acc) end,
|
||||
% Should not find any buckets - as there is a non-binary bucket, and no
|
||||
% binary ones
|
||||
BucketListQuery = {binary_bucketlist,
|
||||
|
@ -322,7 +322,7 @@ query_count(_Config) ->
|
|||
R9),
|
||||
testutil:check_forobject(Book4, TestObject),
|
||||
|
||||
FoldBucketsFun = fun(B, _K, Acc) -> sets:add_element(B, Acc) end,
|
||||
FoldBucketsFun = fun(B, Acc) -> sets:add_element(B, Acc) end,
|
||||
BucketListQuery = {binary_bucketlist,
|
||||
?RIAK_TAG,
|
||||
{FoldBucketsFun, sets:new()}},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue