named return vars
diff --git a/openstack/common/extensions/requests.go b/openstack/common/extensions/requests.go
index 05bf35d..bc1ce3e 100755
--- a/openstack/common/extensions/requests.go
+++ b/openstack/common/extensions/requests.go
@@ -6,10 +6,8 @@
)
// Get retrieves information for a specific extension using its alias.
-func Get(c *gophercloud.ServiceClient, alias string) GetResult {
- var r GetResult
+func Get(c *gophercloud.ServiceClient, alias string) (r GetResult) {
_, r.Err = c.Get(ExtensionURL(c, alias), &r.Body, nil)
- return r
}
// List returns a Pager which allows you to iterate over the full collection of extensions.