Skip to content

Conversation

@dmarquez-splunk
Copy link
Contributor

Fixes #14367

Motivation

Controller metrics crashes with Nil pointer dereference when metrics server fails to start. This makes it difficult to debug why the metrics server failed because the error message is never reported.

Check error before referencing the metric object.

N/A

Verification

N/A

Documentation

N/A

Signed-off-by: Daniel Marquez <dmarquez@splunk.com>
Copy link
Member

@Joibel Joibel left a comment

Choose a reason for hiding this comment

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

Doh! Thanks for fixing.

@Joibel Joibel self-assigned this Apr 15, 2025
@dmarquez-splunk dmarquez-splunk marked this pull request as ready for review April 15, 2025 16:22
@Joibel Joibel merged commit 614b0d2 into argoproj:main Apr 16, 2025
51 of 56 checks passed
@Joibel
Copy link
Member

Joibel commented Apr 22, 2025

/cherry-pick release-3.6

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.

Controller crash on start up due to unchecked error after metrics creation

2 participants