1
0
mirror of https://github.com/ipfs/kubo.git synced 2025-06-28 00:39:31 +08:00

Merge pull request #2928 from ipfs/feature/fix-error-providers

routing: Use correct error variable
This commit is contained in:
Jeromy Johnson
2016-07-01 08:45:49 -07:00
committed by GitHub

View File

@ -123,7 +123,7 @@ func loadProvSet(dstore ds.Datastore, k key.Key) (*providerSet, error) {
out := newProviderSet()
for e := range res.Next() {
if e.Error != nil {
log.Error("got an error: ", err)
log.Error("got an error: ", e.Error)
continue
}
parts := strings.Split(e.Key, "/")