openstack/ :knife: perigee
diff --git a/openstack/identity/v2/tokens/requests.go b/openstack/identity/v2/tokens/requests.go
index 87c923a..db1ac82 100644
--- a/openstack/identity/v2/tokens/requests.go
+++ b/openstack/identity/v2/tokens/requests.go
@@ -1,9 +1,6 @@
package tokens
-import (
- "github.com/racker/perigee"
- "github.com/rackspace/gophercloud"
-)
+import "github.com/rackspace/gophercloud"
// AuthOptionsBuilder describes any argument that may be passed to the Create call.
type AuthOptionsBuilder interface {
@@ -78,10 +75,10 @@
}
var result CreateResult
- _, result.Err = perigee.Request("POST", CreateURL(client), perigee.Options{
- ReqBody: &request,
- Results: &result.Body,
- OkCodes: []int{200, 203},
+ _, result.Err = client.Request("POST", CreateURL(client), gophercloud.RequestOpts{
+ JSONBody: &request,
+ JSONResponse: &result.Body,
+ OkCodes: []int{200, 203},
})
return result
}