summary refs log tree commit diff
path: root/lib/Net
diff options
context:
space:
mode:
authorfranck cuny <franck@lumberjaph.net>2010-06-16 13:41:29 +0200
committerfranck cuny <franck@lumberjaph.net>2010-06-16 13:41:29 +0200
commitfb6c27c4529dd5a2c4abe8646b6095d108dbbe35 (patch)
tree00d16374937339946a6e515bfa11ab8d4e413361 /lib/Net
parentclean (diff)
downloadnet-riak-fb6c27c4529dd5a2c4abe8646b6095d108dbbe35.tar.gz
no need to have a sub
Diffstat (limited to 'lib/Net')
-rw-r--r--lib/Net/Riak/Role/Hosts.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Net/Riak/Role/Hosts.pm b/lib/Net/Riak/Role/Hosts.pm
index 5171928..34d9273 100644
--- a/lib/Net/Riak/Role/Hosts.pm
+++ b/lib/Net/Riak/Role/Hosts.pm
@@ -25,7 +25,7 @@ has host => (
     is      => 'rw',
     isa     => 'RiakHost',
     coerce  => 1,
-    default => sub {'http://127.0.0.1:8098'}
+    default => 'http://127.0.0.1:8098',
 );
 
 sub get_host {