Skip to content

Commit c72bc5f

Browse files
committed
terraform/auth: fix dropped error
1 parent de873b9 commit c72bc5f

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

terraform/auth/config.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,9 @@ func (c *Config) ObjectStorageV1Client(region string) (*gophercloud.ServiceClien
366366
User: c.Username,
367367
Key: c.Password,
368368
})
369+
if err != nil {
370+
return nil, err
371+
}
369372
} else {
370373
c.MutexKV.Lock("SwAuth")
371374
defer c.MutexKV.Unlock("SwAuth")

0 commit comments

Comments
 (0)