Skip to content

Commit

Permalink
Suppress a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
raggi committed Jan 17, 2016
1 parent 2e19ad8 commit 1121102
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/statsd.rb
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ def time(stat, sample_rate=1)
# batch.gauge('user.count', User.count)
# end
def batch(&block)
Batch.new(self).easy &block
Batch.new(self).easy(&block)
end

# Reconnects the socket, useful if the address of the statsd has changed. This
Expand Down

0 comments on commit 1121102

Please sign in to comment.