commit | b260acfbb8a3ad61fab1b90ab5336e7192c56ebc | [log] [tgz] |
---|---|---|
author | Jon Perritt <jrperritt@gmail.com> | Mon Feb 16 11:25:30 2015 -0700 |
committer | Jon Perritt <jrperritt@gmail.com> | Mon Feb 16 11:25:30 2015 -0700 |
tree | 435a494629c4406014ecf67ab1d7a3b6c5e716b3 | |
parent | d7c4886f9c53df1cb8875accd31a2a8ff8f86652 [diff] [blame] |
only cache credentials if AllowReauth is set to true
diff --git a/rackspace/client.go b/rackspace/client.go index 4892802..003683f 100644 --- a/rackspace/client.go +++ b/rackspace/client.go
@@ -99,8 +99,8 @@ if options.AllowReauth { client.ReauthFunc = AuthenticateV2 + client.AuthOptions = options } - client.AuthOptions = options client.TokenID = token.ID client.EndpointLocator = func(opts gophercloud.EndpointOpts) (string, error) { return os.V2EndpointURL(catalog, opts)