Remove confusing comment and code for LBaaS
The comment "the driver is optional" is inconsistent with what actually done. And "vif_driver = None" after raising an exception makes no sense. So this patch removes these lines. Change-Id: I7f3d5b6df61037307e952a478f47c59485601847
This commit is contained in:
parent
b64cac58d2
commit
38474e2ae1
@ -124,10 +124,8 @@ class LbaasAgentManager(periodic_task.PeriodicTasks):
|
||||
try:
|
||||
vif_driver = importutils.import_object(conf.interface_driver, conf)
|
||||
except ImportError:
|
||||
# the driver is optional
|
||||
msg = _('Error importing interface driver: %s')
|
||||
raise SystemExit(msg % conf.interface_driver)
|
||||
vif_driver = None
|
||||
|
||||
try:
|
||||
self.driver = importutils.import_object(
|
||||
|
Loading…
Reference in New Issue
Block a user