Get instance :rocket:
diff --git a/openstack/db/v1/instances/results.go b/openstack/db/v1/instances/results.go
index 0207329..562f752 100644
--- a/openstack/db/v1/instances/results.go
+++ b/openstack/db/v1/instances/results.go
@@ -27,12 +27,20 @@
Volume Volume
}
-// CreateResult represents the result of a Create operation.
-type CreateResult struct {
+type commonResult struct {
gophercloud.Result
}
-func (r CreateResult) Extract() (*Instance, error) {
+// CreateResult represents the result of a Create operation.
+type CreateResult struct {
+ commonResult
+}
+
+type GetResult struct {
+ commonResult
+}
+
+func (r commonResult) Extract() (*Instance, error) {
if r.Err != nil {
return nil, r.Err
}