Rename `Info` to `Get`.
diff --git a/openstack/identity/v3/tokens/requests.go b/openstack/identity/v3/tokens/requests.go
index 7bdb548..ab4ae05 100644
--- a/openstack/identity/v3/tokens/requests.go
+++ b/openstack/identity/v3/tokens/requests.go
@@ -248,8 +248,8 @@
return &result, nil
}
-// Info validates and retrieves information about another token.
-func Info(c *gophercloud.ServiceClient, token string) (*TokenCreateResult, error) {
+// Get validates and retrieves information about another token.
+func Get(c *gophercloud.ServiceClient, token string) (*TokenCreateResult, error) {
var result TokenCreateResult
response, err := perigee.Request("GET", getTokenURL(c), perigee.Options{
diff --git a/openstack/identity/v3/tokens/requests_test.go b/openstack/identity/v3/tokens/requests_test.go
index 97690a6..989c1c4 100644
--- a/openstack/identity/v3/tokens/requests_test.go
+++ b/openstack/identity/v3/tokens/requests_test.go
@@ -389,7 +389,7 @@
authTokenPostErr(t, options, scope, false, ErrScopeEmpty)
}
-func TestInfoRequest(t *testing.T) {
+func TestGetRequest(t *testing.T) {
testhelper.SetupHTTP()
defer testhelper.TeardownHTTP()
@@ -413,7 +413,7 @@
`)
})
- result, err := Info(&client, "abcdef12345")
+ result, err := Get(&client, "abcdef12345")
if err != nil {
t.Errorf("Info returned an error: %v", err)
}