summary refs log tree commit diff
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-05-10 20:35:05 +0200
committerfranck cuny <franck@lumberjaph.net>2010-05-10 20:35:05 +0200
commite1da82f80a9151e7dcddcce9a6f2f6269a9df93e (patch)
tree92cb209acea91b56a527257417f5144d1f528218
parentcleaning up cvcb, params instead of parameters (diff)
downloadanyevent-riak-e1da82f80a9151e7dcddcce9a6f2f6269a9df93e.tar.gz
it's w not d
-rw-r--r--lib/AnyEvent/Riak.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/AnyEvent/Riak.pm b/lib/AnyEvent/Riak.pm
index cd3ca87..a174fac 100644
--- a/lib/AnyEvent/Riak.pm
+++ b/lib/AnyEvent/Riak.pm
@@ -20,7 +20,7 @@ sub new {
     my $path        = delete $args{path}        || 'riak';
     my $mapred_path = delete $args{mapred_path} || 'mapred';
     my $r           = delete $args{r}           || 2;
-    my $d           = delete $args{w}           || 2;
+    my $w           = delete $args{w}           || 2;
     my $dw          = delete $args{dw}          || 2;
 
     my $client_id =
@@ -32,7 +32,7 @@ sub new {
         mapred_path => $mapred_path,
         client_id   => $client_id,
         r           => $r,
-        d           => $d,
+        w           => $w,
         dw          => $dw,
         %args,
     }, $class;