openstack object storage acceptance tests fixes
diff --git a/acceptance/openstack/objectstorage/v1/common.go b/acceptance/openstack/objectstorage/v1/common.go
index a91f9c7..1eac681 100644
--- a/acceptance/openstack/objectstorage/v1/common.go
+++ b/acceptance/openstack/objectstorage/v1/common.go
@@ -20,7 +20,9 @@
client, err := openstack.AuthenticatedClient(ao)
th.AssertNoErr(t, err)
- return openstack.NewObjectStorageV1(client, gophercloud.EndpointOpts{
+ c, err := openstack.NewObjectStorageV1(client, gophercloud.EndpointOpts{
Region: os.Getenv("OS_REGION_NAME"),
})
+ th.AssertNoErr(t, err)
+ return c
}