Fix osc plugin gives the error when using keystone v3

glare backend, osc plugin give the error when using keystone v3,
give the error:
TypeError: 'AccessInfoV3' object has no attribute '__getitem__'

This patch fix this.

Change-Id: I7c9afdbefd0afd82d534996e7d863dd22bed1728
Closes-bug: #1631336
This commit is contained in:
zhurong 2016-10-07 11:38:30 +00:00 committed by Kirill Zaitsev
parent 2bb7f24365
commit 260cd649c4
1 changed files with 1 additions and 1 deletions

View File

@ -68,7 +68,7 @@ def make_client(instance):
endpoint=glare_endpoint,
type_name='murano',
type_version=1,
token=instance.auth_ref['token']['id'])
token=instance.auth_ref.auth_token)
kwargs['artifacts_client'] = artifacts_client
murano_endpoint = instance.get_configuration().get('murano_url')