mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-27 10:28: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"]
|
||||
@port = params["port"] || 8125
|
||||
@prefix = params["prefix"] || 'vmpooler'
|
||||
@server = Statsd.new(host, @port)
|
||||
@server = ::Statsd.new(host, @port)
|
||||
end
|
||||
|
||||
def increment(label)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue