From 0ecf2ae3458580710048718b54dfd46b9cd2cee2 Mon Sep 17 00:00:00 2001 From: Rick Bradley Date: Tue, 12 Jul 2016 21:56:45 -0500 Subject: [PATCH] (maint) construct ::Statsd instead of Statsd Because it's ambiguous in this scope, and, well, it doesn't actually work in production. --- lib/vmpooler/statsd.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vmpooler/statsd.rb b/lib/vmpooler/statsd.rb index ac2ccc2..94a4065 100644 --- a/lib/vmpooler/statsd.rb +++ b/lib/vmpooler/statsd.rb @@ -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)