Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Correct spec for inputs

The input specs in the documentation online
(http://docs.basho.com/riak/latest/references/appendices/MapReduce-Implementation/)
and also in the tests, show that you can pass
inputs as a list of {{bucket, key}, AuxParams}.
The specs mistakenly had these written as
{bucket, key, auxparams}.

This has now been updated to allow dialyzer to
pass on correct usage.
  • Loading branch information...
commit 726df59efca0a49942e091e8fbb3aee39602fe7d 1 parent 33e612e
Sebastian Probst Eide authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  include/riakc.hrl
View
2  include/riakc.hrl
@@ -103,7 +103,7 @@
%% function, that when evaluated points to a built-in javascript function.
-type mapred_result() :: [term()].
%% The results of a MapReduce job.
--type mapred_inputs() :: [{bucket(), key()} | {bucket(), key(), term()}] |
+-type mapred_inputs() :: [{bucket(), key()} | {{bucket(), key()}, term()}] |
{modfun, Module::atom(), Function::atom(), [term()]} |
bucket() |
{index, bucket(), Index::binary(), key()} |
Please sign in to comment.
Something went wrong with that request. Please try again.