Skip to content
This repository has been archived by the owner on Aug 1, 2023. It is now read-only.

endless of client call in provider client #621

Open
armstrongli opened this issue Nov 25, 2016 · 2 comments
Open

endless of client call in provider client #621

armstrongli opened this issue Nov 25, 2016 · 2 comments

Comments

@armstrongli
Copy link

If the server response StatusUnauthorized error every time, the iterator will exhausting all the stack until overflow.

https://github.com/rackspace/gophercloud/blob/master/provider_client.go#L207

armstrongli pushed a commit to armstrongli/gophercloud that referenced this issue Dec 21, 2016
@armstrongli
Copy link
Author

Fixed in PR: #622

armstrongli pushed a commit to armstrongli/gophercloud that referenced this issue Nov 10, 2017
@armstrongli
Copy link
Author

After more investigation, I notice that the token got is not from client. It's from the options which parsed from the caller.
The result is that the token is override by the MoreHeaders which has the old, expired token.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant