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:
		| @@ -42,12 +42,7 @@ def make_client(instance): | ||||
|         interface='publicURL' | ||||
|     ) | ||||
|  | ||||
|     client = workflow_client( | ||||
|         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, | ||||
|     ) | ||||
|     client = workflow_client(mistral_url=mistral_url, session=instance.session) | ||||
|  | ||||
|     return client | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Juan Antonio Osorio Robles
					Juan Antonio Osorio Robles