aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/api/api.go
diff options
context:
space:
mode:
authorPéter Szilágyi <peterke@gmail.com>2017-02-22 20:56:09 +0800
committerPéter Szilágyi <peterke@gmail.com>2017-02-23 18:16:45 +0800
commit61e6bb12478740d614c8effd330f881f962b7b84 (patch)
tree71109a9d02fd7d0b243994b5584618b9e8b46d7b /swarm/api/api.go
parentd4fd06c3dc6cd6d2dbd2bfebfee5bcb46a504851 (diff)
downloaddexon-61e6bb12478740d614c8effd330f881f962b7b84.tar.gz
dexon-61e6bb12478740d614c8effd330f881f962b7b84.tar.zst
dexon-61e6bb12478740d614c8effd330f881f962b7b84.zip
eth, les, swarm: fix go vet issues sufraced by log15
Diffstat (limited to 'swarm/api/api.go')
-rw-r--r--swarm/api/api.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/swarm/api/api.go b/swarm/api/api.go
index 3376fb484..7af27208d 100644
--- a/swarm/api/api.go
+++ b/swarm/api/api.go
@@ -84,7 +84,7 @@ func (self *Api) Resolve(hostPort string, nameresolver bool) (storage.Key, error
err = ErrResolve(err)
log.Warn(fmt.Sprintf("DNS error : %v", err))
}
- log.Trace(fmt.Sprintf("host lookup: %v -> %v", err))
+ log.Trace(fmt.Sprintf("host lookup: %v -> %v", hostPort, contentHash))
return contentHash[:], err
}
func Parse(uri string) (hostPort, path string) {