v2 is now golint clean :lipstick:
diff --git a/openstack/utils/client.go b/openstack/utils/client.go
index d1f0359..6dda38f 100644
--- a/openstack/utils/client.go
+++ b/openstack/utils/client.go
@@ -2,6 +2,8 @@
import (
"fmt"
+
+ "github.com/rackspace/gophercloud"
identity "github.com/rackspace/gophercloud/openstack/identity/v2"
)
@@ -12,7 +14,7 @@
// Authority holds the results of authenticating against the Endpoint.
Authority identity.AuthResults
// Options holds the authentication options. Useful for auto-reauthentication.
- Options identity.AuthOptions
+ Options gophercloud.AuthOptions
}
// EndpointOpts contains options for finding an endpoint for an Openstack Client.
@@ -40,7 +42,7 @@
// Name: "nova",
// })
// serversClient := servers.NewClient(c.Endpoint, c.Authority, c.Options)
-func NewClient(ao identity.AuthOptions, eo EndpointOpts) (Client, error) {
+func NewClient(ao gophercloud.AuthOptions, eo EndpointOpts) (Client, error) {
client := Client{
Options: ao,
}