Fix call to Client() with 2 api_version args
The Client() uses api_version as the positional parameter, so also sending the api_version as a kwarg causes a python error. The log shows this "recoverable" error, but the UI becomes unusable. Recoverable error: Client() got multiple values for keyword argument 'api_version' Change-Id: I8c8287899f7659273f6768f3c441aa48904dfc74 Closes-Bug: #1524508
This commit is contained in:
parent
7d8ed6c921
commit
2ec35ef8ff
@ -62,7 +62,6 @@ def manilaclient(request):
|
||||
cacert=cacert,
|
||||
http_log_debug=settings.DEBUG,
|
||||
user_agent=MANILA_UI_USER_AGENT_REPR,
|
||||
api_version=MANILA_VERSION,
|
||||
)
|
||||
c.client.auth_token = request.user.token.id
|
||||
c.client.management_url = manila_url
|
||||
|
Loading…
x
Reference in New Issue
Block a user