Skip to content

fix: nil pointer evaluating interface {}.databaseURL#7726

Open
ductnn wants to merge 1 commit intorequarks:mainfrom
ductnn:helm-fix-databaseURL
Open

fix: nil pointer evaluating interface {}.databaseURL#7726
ductnn wants to merge 1 commit intorequarks:mainfrom
ductnn:helm-fix-databaseURL

Conversation

@ductnn
Copy link

@ductnn ductnn commented Aug 4, 2025

No description provided.

Signed-off-by: ductnn <trannhuduc531998@gmail.com>
@auto-assign auto-assign bot requested a review from NGPixel August 4, 2025 16:43
@NGPixel
Copy link
Member

NGPixel commented Aug 6, 2025

You're introducing a condition where the object might exist but not the databaseURL, in which case nothing will work.

It would be better to keep it as a single condition and use something like dig to perform the check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants