Skip to content
This repository was archived by the owner on Dec 17, 2025. It is now read-only.

fix: printing gvkparser error message#585

Merged
crenshaw-dev merged 1 commit intoargoproj:masterfrom
pgier:openapi-error-handling
Jun 25, 2024
Merged

fix: printing gvkparser error message#585
crenshaw-dev merged 1 commit intoargoproj:masterfrom
pgier:openapi-error-handling

Conversation

@pgier
Copy link
Copy Markdown
Contributor

@pgier pgier commented Jun 12, 2024

The log.Info function doesn't understand format directives, so use key/value to print error message.
Related PR which caused the error to be hidden: #430

I'm not sure if this should stay at Info level or if it was correct previously at error level because this is a real issue. The failed gvkParser seems to be the cause of inaccurate diffs: #18213

The log.Info function doesn't understand format directives, so use key/value to print error message.

Signed-off-by: Paul Gier <paul.gier@datastax.com>
@sonarqubecloud
Copy link
Copy Markdown

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@crenshaw-dev crenshaw-dev changed the title fix printing gvkparser error message fix: printing gvkparser error message Jun 25, 2024
@crenshaw-dev crenshaw-dev merged commit 0be58f2 into argoproj:master Jun 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants