lib/le/host.rb in le-2.5.0 vs lib/le/host.rb in le-2.6.0
- old
+ new
@@ -1,11 +1,11 @@
module Le
module Host
#! def self.new(token, local, debug, ssl, datahub_enabled, datahub_ip, datahub_port, host_id, host_name_enabled, host_name)
- def self.new(token, local, debug, ssl, datahub_endpoint, host_id, custom_host)
+ def self.new(token, local, debug, ssl, datahub_endpoint, host_id, custom_host, udp_port)
- Le::Host::HTTP.new(token, local, debug, ssl, datahub_endpoint, host_id, custom_host)
+ Le::Host::HTTP.new(token, local, debug, ssl, datahub_endpoint, host_id, custom_host, udp_port)
end
module InstanceMethods
def formatter
proc do |severity, datetime, _, msg|