Skip to content

Commit 5861c91

Browse files
committed
Fix warning message
1 parent 1928ee6 commit 5861c91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/influxdb/client/http.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def connect_with_retry
6262
raise InfluxDB::ConnectionError, "Tried #{retry_count - 1} times to reconnect but failed."
6363
end
6464

65-
log(:warn) { "Failed to contact host #{host}: #{e.inspect} - retrying in #{delay}s." }
65+
log(:warn) { "Failed to contact host #{http.address}: #{e.inspect} - retrying in #{delay}s." }
6666
sleep delay
6767
delay = [config.max_delay, delay * 2].min
6868

0 commit comments

Comments
 (0)