Allow reauth to keystone after token expiry

This commit is contained in:
Dave Buckley 2016-12-07 01:36:10 +00:00
parent d6e6307245
commit 91562636d4
1 changed files with 3 additions and 0 deletions

View File

@ -61,6 +61,9 @@ func (c *AccessConfig) Prepare(ctx *interpolate.Context) []error {
// Get as much as possible from the end
ao, _ := openstack.AuthOptionsFromEnv()
// Make sure we reauth as needed
ao.AllowReauth = true
// Override values if we have them in our config
overrides := []struct {
From, To *string