Merge "Create a directory for servicegroup drivers."
This commit is contained in:
commit
6a2c0a4dab
@ -39,7 +39,9 @@ CONF.register_opt(servicegroup_driver_opt)
|
|||||||
class API(object):
|
class API(object):
|
||||||
|
|
||||||
_driver = None
|
_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-')
|
@lockutils.synchronized('nova.servicegroup.api.new', 'nova-')
|
||||||
def __new__(cls, *args, **kwargs):
|
def __new__(cls, *args, **kwargs):
|
||||||
|
0
nova/servicegroup/drivers/__init__.py
Normal file
0
nova/servicegroup/drivers/__init__.py
Normal file
Loading…
x
Reference in New Issue
Block a user