Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanhall07 committed Feb 5, 2021
1 parent ecd8dc1 commit 747e0db
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/dbnode/network/server/tchannelthrift/node/service.go
Original file line number Diff line number Diff line change
Expand Up @@ -903,9 +903,7 @@ func newFetchTaggedResultsIter(opts fetchTaggedResultsIterOpts) FetchTaggedResul
tagEncoder: opts.tagEncoder,
iOpts: opts.iOpts,
instrumentClose: opts.instrumentClose,


}
}

return iter
}
Expand All @@ -927,10 +925,10 @@ func (i *fetchTaggedResultsIter) Next(ctx context.Context) bool {
if i.idx == 0 {
for _, entry := range i.queryResults.Iter() { // nolint: gocritic
result := idResult{
queryResult: entry,
docReader: i.docReader,
tagEncoder: i.tagEncoder,
iOpts: i.iOpts,
queryResult: entry,
docReader: i.docReader,
tagEncoder: i.tagEncoder,
iOpts: i.iOpts,
}
if i.fetchData {
// NB(r): Use a bytes ID here so that this ID doesn't need to be
Expand Down

0 comments on commit 747e0db

Please sign in to comment.