Merge "Remove confusing comment and code for LBaaS"
This commit is contained in:
commit
731f291a7f
@ -124,10 +124,8 @@ class LbaasAgentManager(periodic_task.PeriodicTasks):
|
|||||||
try:
|
try:
|
||||||
vif_driver = importutils.import_object(conf.interface_driver, conf)
|
vif_driver = importutils.import_object(conf.interface_driver, conf)
|
||||||
except ImportError:
|
except ImportError:
|
||||||
# the driver is optional
|
|
||||||
msg = _('Error importing interface driver: %s')
|
msg = _('Error importing interface driver: %s')
|
||||||
raise SystemExit(msg % conf.interface_driver)
|
raise SystemExit(msg % conf.interface_driver)
|
||||||
vif_driver = None
|
|
||||||
|
|
||||||
try:
|
try:
|
||||||
self.driver = importutils.import_object(
|
self.driver = importutils.import_object(
|
||||||
|
Loading…
Reference in New Issue
Block a user