no naked returns in go; fix auth v3 unit tests
diff --git a/openstack/db/v1/users/requests.go b/openstack/db/v1/users/requests.go
index c0bfa42..d342de3 100644
--- a/openstack/db/v1/users/requests.go
+++ b/openstack/db/v1/users/requests.go
@@ -72,6 +72,7 @@
return
}
_, r.Err = client.Post(baseURL(client, instanceID), &b, nil, nil)
+ return
}
// List will list all the users associated with a specified database instance,
@@ -86,4 +87,5 @@
// Delete will permanently delete a user from a specified database instance.
func Delete(client *gophercloud.ServiceClient, instanceID, userName string) (r DeleteResult) {
_, r.Err = client.Delete(userURL(client, instanceID, userName), nil)
+ return
}