Merge "Fix auth in actions if there is no auth_uri in context"
This commit is contained in:
commit
c7fe4e8453
@ -31,7 +31,7 @@ CONF = cfg.CONF
|
||||
|
||||
def client():
|
||||
ctx = context.ctx()
|
||||
auth_url = ctx.auth_uri
|
||||
auth_url = ctx.auth_uri or CONF.keystone_authtoken.auth_uri
|
||||
|
||||
cl = ks_client.Client(
|
||||
user_id=ctx.user_id,
|
||||
|
Loading…
x
Reference in New Issue
Block a user