Broken newClient method.
diff --git a/acceptance/openstack/objectstorage/v1/common.go b/acceptance/openstack/objectstorage/v1/common.go
index fd1deda..a91f9c7 100644
--- a/acceptance/openstack/objectstorage/v1/common.go
+++ b/acceptance/openstack/objectstorage/v1/common.go
@@ -4,6 +4,7 @@
import (
"os"
+ "testing"
"github.com/rackspace/gophercloud"
"github.com/rackspace/gophercloud/openstack"
@@ -12,7 +13,7 @@
var metadata = map[string]string{"gopher": "cloud"}
-func newClient() (*gophercloud.ServiceClient, error) {
+func newClient(t *testing.T) *gophercloud.ServiceClient {
ao, err := openstack.AuthOptionsFromEnv()
th.AssertNoErr(t, err)
@@ -21,5 +22,5 @@
return openstack.NewObjectStorageV1(client, gophercloud.EndpointOpts{
Region: os.Getenv("OS_REGION_NAME"),
- }), nil
+ })
}