eth, les, swarm: fix go vet issues sufraced by log15

This commit is contained in:
Péter Szilágyi
2017-02-22 14:56:09 +02:00
parent d4fd06c3dc
commit 61e6bb1247
8 changed files with 10 additions and 10 deletions

View File

@ -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) {