We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7695289 + 50086da commit e15d7eeCopy full SHA for e15d7ee
1 file changed
terraform/auth/config.go
@@ -51,7 +51,7 @@ type Config struct {
51
DelayedAuth bool
52
AllowReauth bool
53
OsClient *gophercloud.ProviderClient
54
- authOpts *gophercloud.AuthOptions
+ AuthOpts *gophercloud.AuthOptions
55
authenticated bool
56
authFailed error
57
swClient *gophercloud.ServiceClient
@@ -211,7 +211,7 @@ func (c *Config) LoadAndValidate() error {
211
}
212
213
214
- c.authOpts = ao
+ c.AuthOpts = ao
215
c.OsClient = client
216
217
return nil
@@ -230,7 +230,7 @@ func (c *Config) Authenticate() error {
230
231
232
if !c.authenticated {
233
- if err := openstack.Authenticate(c.OsClient, *c.authOpts); err != nil {
+ if err := openstack.Authenticate(c.OsClient, *c.AuthOpts); err != nil {
234
c.authFailed = err
235
return err
236
0 commit comments