From c72bc5f468632cba69903e349c414cbd061c63f1 Mon Sep 17 00:00:00 2001 From: Lars Lehtonen Date: Mon, 9 Oct 2023 18:35:29 -0700 Subject: [PATCH] terraform/auth: fix dropped error --- terraform/auth/config.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/terraform/auth/config.go b/terraform/auth/config.go index cf7e7536..056d2bb9 100644 --- a/terraform/auth/config.go +++ b/terraform/auth/config.go @@ -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")