Repair vitrage-ml run fail.
Now AlarmDataProcessor.init have not CONF,so that adding conf.machine_learning.plugins configuration cause error. Change-Id: Iedb2ea5f6885c44f95c05008997065ca2ecab504 Closes-Bug: #1856799
This commit is contained in:
parent
5f0d2a8fc1
commit
2786ca7109
@ -68,8 +68,7 @@ class MachineLearningService(coord.Service):
|
|||||||
LOG.info('Machine Learning plugin %s started',
|
LOG.info('Machine Learning plugin %s started',
|
||||||
machine_learning_plugin_name)
|
machine_learning_plugin_name)
|
||||||
machine_learning_plugins.append(importutils.import_object(
|
machine_learning_plugins.append(importutils.import_object(
|
||||||
CONF[machine_learning_plugin_name].plugin_path,
|
CONF[machine_learning_plugin_name].plugin_path))
|
||||||
CONF))
|
|
||||||
return machine_learning_plugins
|
return machine_learning_plugins
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user