summaryrefslogtreecommitdiff
path: root/lib/Net/Riak/MapReduce.pm
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--lib/Net/Riak/MapReduce.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Net/Riak/MapReduce.pm b/lib/Net/Riak/MapReduce.pm
index 14e4007..8ebe563 100644
--- a/lib/Net/Riak/MapReduce.pm
+++ b/lib/Net/Riak/MapReduce.pm
@@ -54,7 +54,7 @@ sub add {
}while(my $arg = shift @_);
return $self;
}
-
+
if (!scalar @_) {
if (blessed($arg)) {
$self->add_object($arg);
@@ -212,7 +212,7 @@ sub run {
my $query = $riak->add("Cats");
$query->map(
- 'function(v, d, a) { return [v]; }',
+ 'function(v, d, a) { return [v]; }',
arg => [qw/some params to your function/]
);