Merge "Handle clients that don't accept auth_url=None"
This commit is contained in:
commit
8be4e9041c
|
@ -27,7 +27,7 @@ class CinderClientPlugin(client_plugin.ClientPlugin):
|
|||
endpoint_type = self._get_client_option('cinder', 'endpoint_type')
|
||||
args = {
|
||||
'service_type': 'volume',
|
||||
'auth_url': con.auth_url,
|
||||
'auth_url': con.auth_url or '',
|
||||
'project_id': con.tenant,
|
||||
'username': None,
|
||||
'api_key': None,
|
||||
|
|
|
@ -28,7 +28,7 @@ class TroveClientPlugin(client_plugin.ClientPlugin):
|
|||
endpoint_type = self._get_client_option('trove', 'endpoint_type')
|
||||
args = {
|
||||
'service_type': 'database',
|
||||
'auth_url': con.auth_url,
|
||||
'auth_url': con.auth_url or '',
|
||||
'proxy_token': con.auth_token,
|
||||
'username': None,
|
||||
'password': None,
|
||||
|
|
Loading…
Reference in New Issue