Code panic when try to call otelsql.Open() twice. #128
-
Hi My old code is I samply changed it
I have two places called this method, one is
later when I call db.ping, it will panic, what should I do with this case? Thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
My original code used |
Beta Was this translation helpful? Give feedback.
-
After update go.opentelemetry.io/otel/sdk/metric to v0.33.0, this problem is fixed. |
Beta Was this translation helpful? Give feedback.
After update go.opentelemetry.io/otel/sdk/metric to v0.33.0, this problem is fixed.