Skip to content

Commit

Permalink
Fix warning message
Browse files Browse the repository at this point in the history
  • Loading branch information
drbrain committed Jun 1, 2020
1 parent 1928ee6 commit 5861c91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/influxdb/client/http.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def connect_with_retry
raise InfluxDB::ConnectionError, "Tried #{retry_count - 1} times to reconnect but failed."
end

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

Expand Down

0 comments on commit 5861c91

Please sign in to comment.