commit | 9c6c9e6ddd69fa72a3555b5f6e02c8eefa35dfe2 | [log] [tgz] |
---|---|---|
author | Ash Wilson <smashwilson@gmail.com> | Mon Sep 08 15:27:38 2014 -0400 |
committer | Ash Wilson <smashwilson@gmail.com> | Mon Sep 08 15:27:38 2014 -0400 |
tree | 6f7268c0a224046978707dba7d431f9003d04ec7 | |
parent | 2ebb21c024e8bccb1026db370275a1bfe105b466 [diff] [blame] |
Use a ServiceClient in identity v2, as well.
diff --git a/openstack/utils/client.go b/openstack/utils/client.go index 6dda38f..7e3aa12 100644 --- a/openstack/utils/client.go +++ b/openstack/utils/client.go
@@ -47,7 +47,8 @@ Options: ao, } - ar, err := identity.Authenticate(ao) + c := &gophercloud.ServiceClient{Endpoint: ao.IdentityEndpoint} + ar, err := identity.Authenticate(c, ao) if err != nil { return client, err }