Open armstrongli opened 7 years ago
Fixed in PR: https://github.com/rackspace/gophercloud/pull/622
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.
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