Unverified Commit 07ad7811 authored by Marten Seemann's avatar Marten Seemann Committed by GitHub

Merge pull request #721 from libp2p/fix-staticcheck

fix staticcheck
parents 301a6e4a 0f691a4e
...@@ -720,10 +720,10 @@ func (dht *FullRT) getValues(ctx context.Context, key string, stopQuery chan str ...@@ -720,10 +720,10 @@ func (dht *FullRT) getValues(ctx context.Context, key string, stopQuery chan str
ID: p, ID: p,
}) })
return nil return nil
default:
return err
case nil, internal.ErrInvalidRecord: case nil, internal.ErrInvalidRecord:
// in either of these cases, we want to keep going // in either of these cases, we want to keep going
default:
return err
} }
// TODO: What should happen if the record is invalid? // TODO: What should happen if the record is invalid?
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment