Merge "Token will be lost when constructing a ceilometer client"
This commit is contained in:
@@ -331,7 +331,9 @@ def _adjust_kwargs(kwargs):
|
|||||||
}
|
}
|
||||||
|
|
||||||
client_kwargs.update(kwargs)
|
client_kwargs.update(kwargs)
|
||||||
client_kwargs['token'] = kwargs.get('token') or kwargs.get('auth_token')
|
client_kwargs['token'] = (client_kwargs.get('token') or
|
||||||
|
kwargs.get('token') or
|
||||||
|
kwargs.get('auth_token'))
|
||||||
|
|
||||||
timeout = kwargs.get('timeout')
|
timeout = kwargs.get('timeout')
|
||||||
if timeout is not None:
|
if timeout is not None:
|
||||||
|
|||||||
Reference in New Issue
Block a user