api: drop project_id from kwargs in client

The client will use the admin_token auth_type if an endpoint and token
are provided, this auth_type does not support getting a project_id so it
will raise an error in the dashboard.

Change-Id: I76c9f19bb11c9d5a92a06e3b7c8b70b7c3a035e5
This commit is contained in:
Mohammed Naser 2020-06-10 21:21:02 -04:00
parent 6d253ca7f1
commit 50134dc769
1 changed files with 0 additions and 1 deletions

View File

@ -45,7 +45,6 @@ def ironicclient(request):
return client.get_client(1,
endpoint=ironic_url,
os_ironic_api_version=DEFAULT_IRONIC_API_VERSION,
project_id=request.user.project_id,
token=request.user.token.id,
insecure=insecure,
cacert=cacert)