Extract method for Accounts
diff --git a/acceptance/openstack/objectstorage/v1/accounts_test.go b/acceptance/openstack/objectstorage/v1/accounts_test.go
index f7c01a7..9effe58 100644
--- a/acceptance/openstack/objectstorage/v1/accounts_test.go
+++ b/acceptance/openstack/objectstorage/v1/accounts_test.go
@@ -29,11 +29,14 @@
th.AssertNoErr(t, updateres.Err)
}()
- // Retrieve account metadata.
- getres := accounts.Get(client, nil)
- th.AssertNoErr(t, getres.Err)
// Extract the custom metadata from the 'Get' response.
- am, err := getres.ExtractMetadata()
+ res := accounts.Get(client, nil)
+
+ h, err := res.Extract()
+ th.AssertNoErr(t, err)
+ t.Logf("Get Account Response Headers: %+v\n", h)
+
+ am, err := res.ExtractMetadata()
th.AssertNoErr(t, err)
for k := range metadata {
if am[k] != metadata[strings.Title(k)] {