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(tasks): add run limit check to analytical store #14569

Merged
merged 1 commit into from
Aug 12, 2019

Conversation

AlirieGray
Copy link
Contributor

@AlirieGray AlirieGray commented Aug 5, 2019

Closes #13575

This PR fixes an issue where setting a limit in the query for getting runs for a task did not work, and would instead return all runs for the task. A limit was added to the flux function retrieving the runs, and the length of the runs was checking before adding to the runs to be returned.

  • CHANGELOG.md updated with a link to the PR (not the Issue)
  • Rebased/mergeable
  • Tests pass

@AlirieGray AlirieGray force-pushed the tasks/fix-run-limit-api branch 4 times, most recently from 19931bf to 7c593d5 Compare August 5, 2019 23:35
@AlirieGray AlirieGray requested a review from a team August 5, 2019 23:35
@ghost ghost requested review from docmerlin and removed request for a team August 5, 2019 23:36
Copy link
Contributor

@docmerlin docmerlin left a comment

Choose a reason for hiding this comment

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

Could you add a test for this, somewhere so we don't regress.

@AlirieGray AlirieGray force-pushed the tasks/fix-run-limit-api branch 2 times, most recently from 72bec9c to d6ca271 Compare August 8, 2019 17:21
@AlirieGray AlirieGray merged commit aafb9e5 into master Aug 12, 2019
@AlirieGray AlirieGray deleted the tasks/fix-run-limit-api branch August 12, 2019 16:06
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.

InfluxDB 2.0: The limit for specify the number of runs to return doesn't works [area/api]
2 participants