Skip to content

housekeeping: fix catalog apps generation and validation.#2360

Open
patrickdappollonio wants to merge 3 commits intomainfrom
fix-catalog-apps-generation
Open

housekeeping: fix catalog apps generation and validation.#2360
patrickdappollonio wants to merge 3 commits intomainfrom
fix-catalog-apps-generation

Conversation

@patrickdappollonio
Copy link
Copy Markdown
Contributor

@patrickdappollonio patrickdappollonio commented Jan 13, 2025

Description

Doing the AWS STS work I found this function that seems to be buggy. Not only loading information into each catalog app wasn't working because it was operating on a copy of the original value, but the error message wasn't being handled at all.

The function returned 2 important values, a boolean that would say if the catalog was incorrect and an error that would say if the catalog was incorrect, thus making it if err != nil to always have a non-true bool return.

If the callers were handling this in a way that would require the "bug" to be there then this would break the current flow.

Related Issue(s)

Fixes #

How to test

Comment thread internal/catalog/catalog.go
@nathan-nicholson nathan-nicholson changed the title Fix catalog apps generation and validation. housekeeping: fix catalog apps generation and validation. Jan 15, 2025
nathan-nicholson added 2 commits February 4, 2025 15:42
Signed-off-by: nathan-nicholson <nathan@konstruct.io>
Signed-off-by: nathan-nicholson <nathan@konstruct.io>
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.

2 participants