Use session from OSC plugin
The commit below this one [1] adds support for using a session. This one makes use of that from the OSC plugin, since it already has a working keystone-session thanks to the generic bits of the OSC CLI code. [1] I4fccb4117db11c966ac3f17ec6d2a53c657378e8 Change-Id: Ibefb071f28ff7239bce082f0947985af6d8e2f27
This commit is contained in:
parent
83b3d0d39c
commit
63f1fd5ab5
@ -42,12 +42,7 @@ def make_client(instance):
|
|||||||
interface='publicURL'
|
interface='publicURL'
|
||||||
)
|
)
|
||||||
|
|
||||||
client = workflow_client(
|
client = workflow_client(mistral_url=mistral_url, session=instance.session)
|
||||||
mistral_url=mistral_url,
|
|
||||||
auth_token=instance.auth_ref.auth_token,
|
|
||||||
project_id=instance.auth_ref.project_id,
|
|
||||||
user_id=instance.auth_ref.user_id,
|
|
||||||
)
|
|
||||||
|
|
||||||
return client
|
return client
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user