don't use region environment variable
diff --git a/acceptance/openstack/storage_test.go b/acceptance/openstack/storage_test.go
index 0cd3c12..bd12a33 100644
--- a/acceptance/openstack/storage_test.go
+++ b/acceptance/openstack/storage_test.go
@@ -11,6 +11,7 @@
"github.com/rackspace/gophercloud/openstack/storage/v1/containers"
"github.com/rackspace/gophercloud/openstack/storage/v1/objects"
"github.com/rackspace/gophercloud/openstack/utils"
+ "os"
"strings"
"testing"
)
@@ -26,7 +27,8 @@
}
client, err := ao.NewClient(identity.EndpointOpts{
- Type: "object-store",
+ Region: os.Getenv("OS_REGION_NAME"),
+ Type: "object-store",
})
if err != nil {
return nil, err