lib/httpx/resolver/resolver_mixin.rb in httpx-0.7.0 vs lib/httpx/resolver/resolver_mixin.rb in httpx-0.8.0
- old
+ new
@@ -28,10 +28,10 @@
def emit_addresses(connection, addresses)
addresses.map! do |address|
address.is_a?(IPAddr) ? address : IPAddr.new(address.to_s)
end
- log(label: "resolver: ") { "answer #{connection.origin.host}: #{addresses.inspect}" }
+ log { "resolver: answer #{connection.origin.host}: #{addresses.inspect}" }
connection.addresses = addresses
catch(:coalesced) { emit(:resolve, connection) }
end
def early_resolve(connection, hostname: connection.origin.host)