From 61e6bb12478740d614c8effd330f881f962b7b84 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A9ter=20Szil=C3=A1gyi?= Date: Wed, 22 Feb 2017 14:56:09 +0200 Subject: eth, les, swarm: fix go vet issues sufraced by log15 --- swarm/api/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'swarm/api') 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) { -- cgit v1.2.3