Commit 0f691a4e authored by Marten Seemann's avatar Marten Seemann

fix staticcheck

parent 301a6e4a
......@@ -720,10 +720,10 @@ func (dht *FullRT) getValues(ctx context.Context, key string, stopQuery chan str
ID: p,
})
return nil
default:
return err
case nil, internal.ErrInvalidRecord:
// in either of these cases, we want to keep going
default:
return err
}
// 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