(maint) construct ::Statsd instead of Statsd

Because it's ambiguous in this scope, and, well, it doesn't
actually work in production.
This commit is contained in:
Rick Bradley 2016-07-12 21:56:45 -05:00
parent 912cc489c0
commit 0ecf2ae345

View file

@ -13,7 +13,7 @@ module Vmpooler
host = params["server"] host = params["server"]
@port = params["port"] || 8125 @port = params["port"] || 8125
@prefix = params["prefix"] || 'vmpooler' @prefix = params["prefix"] || 'vmpooler'
@server = Statsd.new(host, @port) @server = ::Statsd.new(host, @port)
end end
def increment(label) def increment(label)