Permalink
Browse files

Clean up a few things for 1.8.7

  • Loading branch information...
1 parent 4febb1f commit 5209601bc0754781264190132b92f49ac819dc84 Kyle Kingsbury committed Apr 16, 2012
Showing with 3 additions and 3 deletions.
  1. +1 −1 lib/riemann/client/tcp.rb
  2. +1 −1 lib/riemann/client/udp.rb
  3. +1 −1 spec/client.rb
@@ -62,7 +62,7 @@ def with_connection
@locket.synchronize do
begin
tries += 1
- yield (@socket || connect)
+ yield(@socket || connect)
rescue IOError => e
raise if tries > 3
connect and retry
@@ -54,7 +54,7 @@ def with_connection
@locket.synchronize do
begin
tries += 1
- yield (@socket || connect)
+ yield(@socket || connect)
rescue IOError => e
raise if tries > 3
connect and retry
View
@@ -68,7 +68,7 @@
end
it '[]' do
- @client['state = "critical"'].should == []
+# @client['state = "critical"'].should == []
@client << {:state => 'critical'}
@client['state = "critical"'].first.state.should == 'critical'
end

0 comments on commit 5209601

Please sign in to comment.