added database type
This commit is contained in:
@@ -163,3 +163,14 @@ class IdentityServiceContext(context.IdentityServiceContext):
|
||||
ctxt['service_port'])
|
||||
ctxt['keystone_ec2_url'] = ec2_tokens
|
||||
return ctxt
|
||||
|
||||
class SharedDBContext(context.SharedDBContext):
|
||||
|
||||
interfaces = ['shared-db']
|
||||
|
||||
def __call__(self):
|
||||
# add database type
|
||||
ctxt = super(SharedDBContext, self).__call__()
|
||||
ctxt['database_type'] = 'mysql'
|
||||
return ctxt
|
||||
|
||||
|
||||
Reference in New Issue
Block a user