Downgrade duplicate YAML key log to warning (#28851)

This commit is contained in:
Franck Nijhof 2019-11-19 20:09:23 +01:00 committed by Paulus Schoutsen
parent 9324845aaa
commit 21157f9dac

View file

@ -211,7 +211,7 @@ def _ordered_dict(loader: SafeLineLoader, node: yaml.nodes.MappingNode) -> Order
if key in seen:
fname = getattr(loader.stream, "name", "")
_LOGGER.error(
_LOGGER.warning(
'YAML file %s contains duplicate key "%s". ' "Check lines %d and %d.",
fname,
key,