Merge "Create a directory for servicegroup drivers."

This commit is contained in:
Jenkins 2013-01-11 04:26:20 +00:00 committed by Gerrit Code Review
commit 6a2c0a4dab
3 changed files with 3 additions and 1 deletions

View File

@ -39,7 +39,9 @@ CONF.register_opt(servicegroup_driver_opt)
class API(object):
_driver = None
_driver_name_class_mapping = {"db": "nova.servicegroup.db_driver.DbDriver"}
_driver_name_class_mapping = {
'db': 'nova.servicegroup.drivers.db.DbDriver'
}
@lockutils.synchronized('nova.servicegroup.api.new', 'nova-')
def __new__(cls, *args, **kwargs):

View File