ensure list use rackspace User structs
diff --git a/rackspace/db/v1/users/requests.go b/rackspace/db/v1/users/requests.go
index 5667452..aab7e41 100644
--- a/rackspace/db/v1/users/requests.go
+++ b/rackspace/db/v1/users/requests.go
@@ -9,6 +9,15 @@
"github.com/rackspace/gophercloud/pagination"
)
+// List will list all available users for a specified database instance.
+func List(client *gophercloud.ServiceClient, instanceID string) pagination.Pager {
+ createPageFn := func(r pagination.PageResult) pagination.Page {
+ return UserPage{pagination.LinkedPageBase{PageResult: r}}
+ }
+
+ return pagination.NewPager(client, baseURL(client, instanceID), createPageFn)
+}
+
/*
ChangePassword changes the password for one or more users. For example, to
change the respective passwords for two users: