Print the IP, not the address

This commit is contained in:
Frank Denis 2018-03-20 15:10:12 +01:00
parent 50053d32a5
commit 963a54f6fe
1 changed files with 1 additions and 1 deletions

View File

@ -165,7 +165,7 @@ func (xTransport *XTransport) Fetch(method string, url *url.URL, accept string,
xTransport.cachedIPs.Lock()
xTransport.cachedIPs.cache[host] = *foundIP
xTransport.cachedIPs.Unlock()
dlog.Debugf("[%s] IP address [%s] added to the cache", host, foundIP)
dlog.Debugf("[%s] IP address [%s] added to the cache", host, *foundIP)
start := time.Now()
resp, err := client.Do(req)