Fix args for initializing trove client

Trove client is using the 'retries' as 'connect_retries' when instantiating
trove Client.

Ref:
https://github.com/openstack/python-troveclient/blob/master/troveclient/client.py#L469

Story: 2008422
Task: 41366

Change-Id: I58a6e235410e2ca28b3822400151621c18ad882d
This commit is contained in:
Lingxian Kong 2020-12-07 20:59:01 +13:00
parent 61e53c4eca
commit defb617ce5

View File

@ -37,7 +37,7 @@ class TroveClientPlugin(client_plugin.ClientPlugin):
'endpoint_type': endpoint_type,
'service_type': self.DATABASE,
'session': con.keystone_session,
'connect_retries': cfg.CONF.client_retry_limit,
'retries': cfg.CONF.client_retry_limit,
'region_name': self._get_region_name()
}