summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Edwards <robin.ge@gmail.com>2013-03-01 14:09:39 +0000
committerRobin Edwards <robin.ge@gmail.com>2013-03-01 14:09:39 +0000
commitcf7b7e6b60ec52150cc99b12ab079b0348dcfb1b (patch)
treed37389ace153a487a8478398d516669ba73d3f43
parentUpdate changelog and version ready for release (diff)
downloadnet-riak-cf7b7e6b60ec52150cc99b12ab079b0348dcfb1b.tar.gz
Return reference
Diffstat (limited to '')
-rw-r--r--lib/Net/Riak/Object.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Net/Riak/Object.pm b/lib/Net/Riak/Object.pm
index 8dc92fd..80997c1 100644
--- a/lib/Net/Riak/Object.pm
+++ b/lib/Net/Riak/Object.pm
@@ -83,7 +83,7 @@ sub add_index {
if (length($index) > 4 && $index =~ /^.+_int$/ && $data =~ /^\d+$/ );
$self->i2indexes($ref);
}
- $self->i2indexes;
+ return $self->i2indexes;
}
sub remove_index {
@@ -102,6 +102,7 @@ sub remove_index {
$self->i2indexes($ref);
}
}
+ return $self->i2indexes;
}
sub load {