You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module modname
go 1.23.2
require (
cloud.google.com/go/spanner v1.71.0
)
Expected behavior
I expect no error. But I get the error credentials: could not find default credentials. See https://cloud.google.com/docs/authentication/external/set-up-adc for more information.
With some debugging, I found out that the error is returned by newBuiltinMetricsTracerFactory at L510.
Client
spanner
Environment
go 1.23.2
Code and Dependencies
go.mod
Expected behavior
I expect no error. But I get the error
credentials: could not find default credentials. See https://cloud.google.com/docs/authentication/external/set-up-adc for more information
.With some debugging, I found out that the error is returned by
newBuiltinMetricsTracerFactory
at L510.google-cloud-go/spanner/client.go
Line 510 in f06a55a
It seems to me that the problem is
newBuiltinMetricsTracerFactory
doesn't respect theWithCredentialsJSON
option.The text was updated successfully, but these errors were encountered: