more consistent naming
diff --git a/openstack/db/v1/instances/results.go b/openstack/db/v1/instances/results.go
index 905b32c..f32632c 100644
--- a/openstack/db/v1/instances/results.go
+++ b/openstack/db/v1/instances/results.go
@@ -109,12 +109,11 @@
// ExtractInstances will convert a generic pagination struct into a more
// relevant slice of Instance structs.
-func ExtractInstances(page pagination.Page) ([]Instance, error) {
- r := page.(InstancePage)
+func ExtractInstances(r pagination.Page) ([]Instance, error) {
var s struct {
Instances []Instance `json:"instances"`
}
- err := r.ExtractInto(&s)
+ err := (r.(InstancePage)).ExtractInto(&s)
return s.Instances, err
}