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: correct nil pointer when listing wf archive without list options. Fixes #13804 #13807

Merged
merged 7 commits into from
Oct 25, 2024

Conversation

djanjic
Copy link
Contributor

@djanjic djanjic commented Oct 24, 2024

Fixes #13804

Motivation

This PR fixes the issue when trying to list the WF archive without list options using HTTP

Modifications

Updated archived_workflow_server.go to use empty ListOptions if the original one is nil

Verification

  • manual verification
  • added e2e test

@agilgur5 agilgur5 changed the title fix: Fix listing wf archive without list options. Fixes #13804 fix: correct nil pointer when listing wf archive without list options. Fixes #13804 Oct 24, 2024
@agilgur5 agilgur5 added this to the v3.5.x patches milestone Oct 24, 2024
Copy link
Contributor

@agilgur5 agilgur5 left a comment

Choose a reason for hiding this comment

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

thanks for finding and fixing this! some small comments below

server/workflowarchive/archived_workflow_server.go Outdated Show resolved Hide resolved
server/workflowarchive/archived_workflow_server.go Outdated Show resolved Hide resolved
@djanjic djanjic marked this pull request as ready for review October 25, 2024 08:51
Copy link
Contributor

@agilgur5 agilgur5 left a comment

Choose a reason for hiding this comment

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

LGTM

@agilgur5 agilgur5 merged commit 1017c1d into argoproj:main Oct 25, 2024
28 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

nil pointer when listing workflow archive using HTTP without list options
2 participants