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:
@ -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, "/")
|
||||
|
Reference in New Issue
Block a user