mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-27 02:18:41 -05:00
(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:
parent
912cc489c0
commit
0ecf2ae345
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue