argoproj / gitops-engine

Democratizing GitOps
https://pkg.go.dev/github.com/argoproj/gitops-engine?tab=subdirectories
Apache License 2.0
1.67k stars 251 forks source link

fix: printing gvkparser error message #585

Closed pgier closed 2 months ago

pgier commented 2 months ago

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

sonarcloud[bot] commented 2 months ago

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