Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: return empty iterator instead of null in tagValues #19894

Merged
merged 1 commit into from
Nov 4, 2020

Conversation

wolffcm
Copy link

@wolffcm wolffcm commented Nov 3, 2020

Fixes influxdata/flux#3300.

We were returning nil instead of an empty iterator, and callers expect a non-nil result set for any non-error return.

I added a regression test for this here: influxdata/flux#3303.

@wolffcm wolffcm requested review from a team and ethanyzhang and removed request for a team November 3, 2020 23:55
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 tagValuesIterator
2 participants