Downgrade duplicate YAML key log to warning (#28851)
This commit is contained in:
parent
9324845aaa
commit
21157f9dac
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue