no naked returns in go; fix auth v3 unit tests
diff --git a/openstack/db/v1/databases/requests.go b/openstack/db/v1/databases/requests.go
index f441d12..ef5394f 100644
--- a/openstack/db/v1/databases/requests.go
+++ b/openstack/db/v1/databases/requests.go
@@ -69,6 +69,7 @@
return
}
_, r.Err = client.Post(baseURL(client, instanceID), &b, nil, nil)
+ return
}
// List will list all of the databases for a specified instance. Note: this
@@ -84,4 +85,5 @@
// All contained data inside the database will also be permanently deleted.
func Delete(client *gophercloud.ServiceClient, instanceID, dbName string) (r DeleteResult) {
_, r.Err = client.Delete(dbURL(client, instanceID, dbName), nil)
+ return
}