Skip to content

Commit

Permalink
terraform/auth: fix dropped error
Browse files Browse the repository at this point in the history
  • Loading branch information
alrs committed Oct 10, 2023
1 parent de873b9 commit c72bc5f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions terraform/auth/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -366,6 +366,9 @@ func (c *Config) ObjectStorageV1Client(region string) (*gophercloud.ServiceClien
User: c.Username,
Key: c.Password,
})
if err != nil {
return nil, err
}
} else {
c.MutexKV.Lock("SwAuth")
defer c.MutexKV.Unlock("SwAuth")
Expand Down

0 comments on commit c72bc5f

Please sign in to comment.