commit 32c13d00fe23161340e87aa38933475b3571c68f
Author: David TARDIVEL <email address hidden>
Date: Fri Aug 26 12:08:45 2016 +0200
Fix loading of plugin configuration parameters
When the load a plugin, we need to reload once the watcher
configuration data, in order to include the plugin parameters in
cfg.CONF data dict. To reload the conf, we just call self.conf().
But every time we call this method, cfg.CONF is cleaned, and we
lost previously loaded parameters. This generated the exception
RequiredOptError and the plugin was not correctly loaded.
To fix it, we have just to add the watcher configuration
filename as argument of self.conf().
Reviewed: https:/ /review. openstack. org/361058 /git.openstack. org/cgit/ openstack/ watcher/ commit/ ?id=32c13d00fe2 3161340e87aa389 33475b3571c68f
Committed: https:/
Submitter: Jenkins
Branch: master
commit 32c13d00fe23161 340e87aa3893347 5b3571c68f
Author: David TARDIVEL <email address hidden>
Date: Fri Aug 26 12:08:45 2016 +0200
Fix loading of plugin configuration parameters
When the load a plugin, we need to reload once the watcher Error and the plugin was not correctly loaded.
configuration data, in order to include the plugin parameters in
cfg.CONF data dict. To reload the conf, we just call self.conf().
But every time we call this method, cfg.CONF is cleaned, and we
lost previously loaded parameters. This generated the exception
RequiredOpt
To fix it, we have just to add the watcher configuration
filename as argument of self.conf().
Change-Id: Ic2384b68f6d604 640127fe06893d0 f808aee34b7
Closes-Bug: #1617240