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(slack trigger): properly iterate api response #1058

Conversation

AleksanderGondek
Copy link
Contributor

Fixes #1057 The iteration should not assume every page has size of limit set (200)

Checklist:

@AleksanderGondek AleksanderGondek force-pushed the issue-1057-slack-trigger-fix-api-response-pagination branch from e1ba6cb to ebffc73 Compare February 8, 2021 18:50
@AleksanderGondek AleksanderGondek changed the title Slack Trigger - Fix invalid iteration through api response fixes(slack trigger) - properly iterate api response Feb 8, 2021
@AleksanderGondek AleksanderGondek changed the title fixes(slack trigger) - properly iterate api response fix(slack trigger): properly iterate api response Feb 8, 2021
The iteration should not assume every page has size of limit set (200)

Signed-off-by: Aleksander Gondek <gondekaleksander@protonmail.com>
@AleksanderGondek AleksanderGondek force-pushed the issue-1057-slack-trigger-fix-api-response-pagination branch from ebffc73 to ca63173 Compare February 8, 2021 18:59
Copy link
Member

@whynowy whynowy left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for fixing it!

@whynowy whynowy merged commit 714b465 into argoproj:master Feb 8, 2021
whynowy pushed a commit that referenced this pull request Feb 18, 2021
The iteration should not assume every page has size of limit set (200)

Signed-off-by: Aleksander Gondek <gondekaleksander@protonmail.com>
juliev0 pushed a commit to juliev0/argo-events that referenced this pull request Mar 29, 2022
The iteration should not assume every page has size of limit set (200)

Signed-off-by: Aleksander Gondek <gondekaleksander@protonmail.com>
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.

Slack Trigger - Incorrect assumption about API response leads to erros
2 participants