Skip to content

Return a NopIterator when bigchunk is empty#1461

Merged
bboreham merged 1 commit intomasterfrom
nop-iterator
Jun 18, 2019
Merged

Return a NopIterator when bigchunk is empty#1461
bboreham merged 1 commit intomasterfrom
nop-iterator

Conversation

@bboreham
Copy link
Contributor

This is an alternative to #1355
Fixes #1354 (although that is already marked as fixed)

Signed-off-by: Bryan Boreham <bryan@weave.works>
Copy link
Contributor

@csmarchbanks csmarchbanks left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I like this method more than making a new type.

@gouthamve
Copy link
Contributor

👍

@bboreham bboreham merged commit 0224dc1 into master Jun 18, 2019
@bboreham bboreham deleted the nop-iterator branch June 18, 2019 10:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Panic in querier

3 participants