commit | ba2395e9777ffe5356e03c86dee0f8f3ae910a04 | [log] [tgz] |
---|---|---|
author | Jon Perritt <jrperritt@gmail.com> | Mon Oct 27 15:23:21 2014 -0500 |
committer | Jon Perritt <jrperritt@gmail.com> | Mon Oct 27 15:23:21 2014 -0500 |
tree | 842ba56d511111e95281d80a2e039945d5a668ad | |
parent | d50f93e63b68b000efa0f5492ab778563addbace [diff] |
ExtractErrResult -> ErrResult; Extract -> ExtractErr
diff --git a/openstack/compute/v2/extensions/keypairs/requests_test.go b/openstack/compute/v2/extensions/keypairs/requests_test.go index 502a154..67d1833 100644 --- a/openstack/compute/v2/extensions/keypairs/requests_test.go +++ b/openstack/compute/v2/extensions/keypairs/requests_test.go
@@ -66,6 +66,6 @@ defer th.TeardownHTTP() HandleDeleteSuccessfully(t) - err := Delete(client.ServiceClient(), "deletedkey").Extract() + err := Delete(client.ServiceClient(), "deletedkey").ExtractErr() th.AssertNoErr(t, err) }
diff --git a/openstack/compute/v2/extensions/keypairs/results.go b/openstack/compute/v2/extensions/keypairs/results.go index dc49f99..f1a0d8e 100644 --- a/openstack/compute/v2/extensions/keypairs/results.go +++ b/openstack/compute/v2/extensions/keypairs/results.go
@@ -90,5 +90,5 @@ // DeleteResult is the response from a Delete operation. Call its Extract method to determine if // the call succeeded or failed. type DeleteResult struct { - gophercloud.ExtractErrResult + gophercloud.ErrResult }