summaryrefslogtreecommitdiff
path: root/lib/Net/Riak
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2011-05-17 12:25:29 +0200
committerfranck cuny <franck@lumberjaph.net>2011-05-17 12:25:43 +0200
commit2645a8a16bdc7c44a7632e0f4242045ebeb1e4d7 (patch)
tree0668d1ce6f8aec1062f22ac31ade00e40d546d39 /lib/Net/Riak
parentPOD cleanup. (diff)
downloadnet-riak-2645a8a16bdc7c44a7632e0f4242045ebeb1e4d7.tar.gz
need to return self to chain operations (Fix #12)
Diffstat (limited to '')
-rw-r--r--lib/Net/Riak/MapReduce.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Net/Riak/MapReduce.pm b/lib/Net/Riak/MapReduce.pm
index 10a7c98..ec7f596 100644
--- a/lib/Net/Riak/MapReduce.pm
+++ b/lib/Net/Riak/MapReduce.pm
@@ -91,6 +91,7 @@ sub add_bucket {
my ($self, $bucket) = @_;
$self->input_mode('bucket');
$self->inputs_bucket($bucket);
+ $self;
}
sub link {