Shifting compute operations to common delete result
diff --git a/openstack/compute/v2/servers/results.go b/openstack/compute/v2/servers/results.go
index f34d97f..b34cc19 100644
--- a/openstack/compute/v2/servers/results.go
+++ b/openstack/compute/v2/servers/results.go
@@ -41,7 +41,7 @@
// DeleteResult temporarily contains the response from an Delete call.
type DeleteResult struct {
- serverResult
+ gophercloud.ExtractErrResult
}
// RebuildResult temporarily contains the response from a Rebuild call.
@@ -54,11 +54,6 @@
gophercloud.Result
}
-// Extract is a function that extracts error information from a result
-func (r ActionResult) Extract() error {
- return r.Err
-}
-
// Server exposes only the standard OpenStack fields corresponding to a given server on the user's account.
type Server struct {
// ID uniquely identifies this server amongst all other servers, including those not accessible to the current tenant.