rackspace :knife: perigee
diff --git a/rackspace/objectstorage/v1/bulk/requests.go b/rackspace/objectstorage/v1/bulk/requests.go
index d252609..898b73b 100644
--- a/rackspace/objectstorage/v1/bulk/requests.go
+++ b/rackspace/objectstorage/v1/bulk/requests.go
@@ -4,7 +4,6 @@
"net/url"
"strings"
- "github.com/racker/perigee"
"github.com/rackspace/gophercloud"
)
@@ -38,14 +37,13 @@
reqBody := strings.NewReader(reqString)
- resp, err := perigee.Request("DELETE", deleteURL(c), perigee.Options{
- ContentType: "text/plain",
- MoreHeaders: c.AuthenticatedHeaders(),
- OkCodes: []int{200},
- ReqBody: reqBody,
- Results: &res.Body,
+ resp, err := c.Request("DELETE", deleteURL(c), gophercloud.RequestOpts{
+ MoreHeaders: map[string]string{"Content-Type": "text/plain"},
+ OkCodes: []int{200},
+ JSONBody: reqBody,
+ JSONResponse: &res.Body,
})
- res.Header = resp.HttpResponse.Header
+ res.Header = resp.Header
res.Err = err
return res
}