Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Clean up a few things for 1.8.7

  • Loading branch information...
commit 5209601bc0754781264190132b92f49ac819dc84 1 parent 4febb1f
Kyle Kingsbury authored
View
2  lib/riemann/client/tcp.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
View
2  lib/riemann/client/udp.rb
@@ -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
2  spec/client.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.