lib/le/host.rb in le-2.7.0 vs lib/le/host.rb in le-2.7.1
- old
+ new
@@ -1,11 +1,10 @@
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, udp_port)
+ def self.new(token, local, debug, ssl, datahub_endpoint, host_id, custom_host, udp_port, use_data_endpoint)
- Le::Host::HTTP.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, udp_port, use_data_endpoint)
end
module InstanceMethods
def formatter
proc do |severity, datetime, _, msg|