Use new env function
diff --git a/acceptance/rackspace/blockstorage/v1/common.go b/acceptance/rackspace/blockstorage/v1/common.go
index cf247d3..96a3f09 100644
--- a/acceptance/rackspace/blockstorage/v1/common.go
+++ b/acceptance/rackspace/blockstorage/v1/common.go
@@ -4,13 +4,12 @@
"testing"
"github.com/rackspace/gophercloud"
- "github.com/rackspace/gophercloud/openstack/utils"
"github.com/rackspace/gophercloud/rackspace"
th "github.com/rackspace/gophercloud/testhelper"
)
func newClient() (*gophercloud.ServiceClient, error) {
- opts, err := utils.AuthOptions()
+ opts, err := rackspace.AuthOptionsFromEnv()
if err != nil {
return nil, err
}