jgraichen / telegraf-ruby

Send events from Ruby to a Telegraf agent
GNU Lesser General Public License v3.0
13 stars 7 forks source link

Fix name of default connection var #4

Closed AllanKlaus closed 4 years ago

AllanKlaus commented 5 years ago
2.5.1 :001 > telegraf = Telegraf::Agent.new
Traceback (most recent call last):
        2: from (irb):1
        1: from (irb):1:in `new'
NameError (uninitialized constant Telegraf::Agent::DEFAULT_CONNECTION)

The name of the constant was DEFAULT_URI and on constructor signature was DEFAULT_CONNECTION.

jgraichen commented 4 years ago

Thank you very much!