deprecated support of pipeline.yaml for polling
This change deprecates the support of pipeline.yaml for polling configuration. Change-Id: I957efba6a5876dbd7665ea09c06751d0cec8c9ca
This commit is contained in:
parent
66179f89a0
commit
1dd80664a8
@ -872,8 +872,9 @@ class PollingManager(ConfigManagerBase):
|
|||||||
try:
|
try:
|
||||||
cfg = self.load_config(cfg_file)
|
cfg = self.load_config(cfg_file)
|
||||||
except (TypeError, IOError):
|
except (TypeError, IOError):
|
||||||
LOG.warning(_LW('Unable to locate polling configuration, falling '
|
LOG.warning(_LW('Using the pipeline configuration for polling '
|
||||||
'back to pipeline configuration.'))
|
'is deprecated. %s should '
|
||||||
|
'be used instead.'), cfg_file)
|
||||||
cfg = self.load_config(conf.pipeline_cfg_file)
|
cfg = self.load_config(conf.pipeline_cfg_file)
|
||||||
self.sources = []
|
self.sources = []
|
||||||
if 'sources' not in cfg:
|
if 'sources' not in cfg:
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
deprecations:
|
||||||
|
- |
|
||||||
|
Usage of pipeline.yaml for polling configuration is now deprecated. The
|
||||||
|
dedicated polling.yaml should be used instead.
|
Loading…
Reference in New Issue
Block a user