Sync ~xianghui/charm-helpers/format-ipv6, format auth_host for ipv6.

This commit is contained in:
Hui Xiang
2014-09-22 20:57:15 +08:00
parent 5ece28e50d
commit e94e6db6a0
2 changed files with 3 additions and 4 deletions

View File

@@ -239,9 +239,6 @@ class IdentityServiceContext(context.IdentityServiceContext):
ctxt['keystone_ec2_url'] = ec2_tokens
ctxt['region'] = config('region')
if config('prefer-ipv6') and ctxt['auth_host']:
ctxt['auth_host'] = '[%s]' % ctxt['auth_host']
return ctxt