lib/logstash-logger/device.rb in logstash-logger-0.20.0 vs lib/logstash-logger/device.rb in logstash-logger-0.20.1

- old
+ new

@@ -35,9 +35,10 @@ device_klass_for(type).new(opts) end def self.parse_uri_config(opts) if uri = opts[:uri] + require 'uri' parsed = ::URI.parse(uri) {type: parsed.scheme, host: parsed.host, port: parsed.port, path: parsed.path} end end