wiki icon indicating copy to clipboard operation
wiki copied to clipboard

fix: nil pointer evaluating interface {}.databaseURL

Open ductnn opened this issue 5 months ago • 1 comments

ductnn avatar Aug 04 '25 16:08 ductnn

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.

NGPixel avatar Aug 06 '25 15:08 NGPixel