I always forget to delegate the Extract function.
diff --git a/rackspace/compute/v2/keypairs/delegate.go b/rackspace/compute/v2/keypairs/delegate.go
index 10cb20f..3e53525 100644
--- a/rackspace/compute/v2/keypairs/delegate.go
+++ b/rackspace/compute/v2/keypairs/delegate.go
@@ -26,3 +26,8 @@
func Delete(client *gophercloud.ServiceClient, name string) os.DeleteResult {
return os.Delete(client, name)
}
+
+// ExtractKeyPairs interprets a page of results as a slice of KeyPairs.
+func ExtractKeyPairs(page pagination.Page) ([]os.KeyPair, error) {
+ return os.ExtractKeyPairs(page)
+}