Skip to content

Commit

Permalink
Merge pull request #2928 from ipfs/feature/fix-error-providers
Browse files Browse the repository at this point in the history
routing: Use correct error variable
  • Loading branch information
whyrusleeping authored Jul 1, 2016
2 parents fe7b01f + 7fe6995 commit f0aa0e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routing/dht/providers/providers.go
Original file line number Diff line number Diff line change
Expand Up @@ -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, "/")
Expand Down

0 comments on commit f0aa0e2

Please sign in to comment.