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(argocd_application): don't flatten spec.info if list is empty #349

Merged

Conversation

mkilchhofer
Copy link
Collaborator

@mkilchhofer mkilchhofer commented Nov 7, 2023

Copy link
Collaborator

@onematchfox onematchfox left a comment

Choose a reason for hiding this comment

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

Sorry for the delay here. Crunch time at work and weekends have been full up. Managed to reproduce the issue using the description here and can confirm that this fixes that. Would ideally have liked to have seen some tests but, this would be a bit of a pain to write as it would require simulating UI interaction. So, I think we can go with manual verification for now.

@onematchfox onematchfox changed the title fix: Don't return application.spec.info if it is empty fix(argocd_application): don't flatten spec.info if list is empty Nov 19, 2023
@onematchfox onematchfox merged commit 9438664 into argoproj-labs:master Nov 19, 2023
5 of 6 checks passed
@onematchfox
Copy link
Collaborator

FYI: Releases of this project are currently broken due to an issue in argocd. #354 should hopefully address it until argoproj/argo-cd#16388 is reviewed, merged and released.

@mkilchhofer mkilchhofer deleted the bugfix/info_check_length branch November 19, 2023 20:51
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.

Plugin crash with "set item just set doesn't exist"
2 participants