No need to have custom delete results
diff --git a/rackspace/blockstorage/v1/snapshots/delegate.go b/rackspace/blockstorage/v1/snapshots/delegate.go
index aacef7c..b338c36 100644
--- a/rackspace/blockstorage/v1/snapshots/delegate.go
+++ b/rackspace/blockstorage/v1/snapshots/delegate.go
@@ -67,8 +67,8 @@
}
// Delete will delete the existing Snapshot with the provided ID.
-func Delete(client *gophercloud.ServiceClient, id string) DeleteResult {
- return DeleteResult{os.Delete(client, id)}
+func Delete(client *gophercloud.ServiceClient, id string) os.DeleteResult {
+ return os.Delete(client, id)
}
// Get retrieves the Snapshot with the provided ID. To extract the Snapshot
diff --git a/rackspace/blockstorage/v1/snapshots/results.go b/rackspace/blockstorage/v1/snapshots/results.go
index a43bee9..0fab282 100644
--- a/rackspace/blockstorage/v1/snapshots/results.go
+++ b/rackspace/blockstorage/v1/snapshots/results.go
@@ -71,11 +71,6 @@
gophercloud.Result
}
-// DeleteResult represents the result of a delete operation
-type DeleteResult struct {
- os.DeleteResult
-}
-
func commonExtract(resp interface{}, err error) (*Snapshot, error) {
if err != nil {
return nil, err