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
I could see how this could happen if you have a storage URL and an auth token in there?
Is that the case?
I can see several mistakes in the auth code now I look at it! I think that bit of code was amongst my first bits of Go code written in 2014 2fd9fd3
The problem is that the mutex went from an inline one to a pointer. This is so that the Connection can be copied without problems fb21762 however not all the places it is used got updated to initialise it.
Lib version used: v1.0.52
Hi,
I'm not sure if it's an issue or me wrongly using the lib. The
Authenticate
documentation states that:Hence, I assumed it's not needed to call the
Authenticate
method as it's automatically called if needed. but in my code I'm doing the following:The code panics with the following logs:
If I update my code like that, it works:
I don't know if the fix is for the lib to call
Authenticate
if needed. Or maybe prevent the panic and return a proper error?Thanks a lot for the lib :)
The text was updated successfully, but these errors were encountered: