Permalink
Browse files

Ugh, typo in Risk#riak!

  • Loading branch information...
1 parent 798aa47 commit c53768982e96fda84a6e9649b6e36b023b2798d8 @aphyr committed May 17, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/risky.rb
View
@@ -258,7 +258,7 @@ def self.riak
# If your @riak proc can choose between multiple hosts, calling this on
# failure will allow subsequent requests to proceed on another host.
def self.riak!
- Thread.current["self.riak"] = nil
+ Thread.current["#{self}.riak"] = nil
riak
end

0 comments on commit c537689

Please sign in to comment.