YAML model loading: WARN log when an element is not a container object (#4824)

Signed-off-by: Laurent Garnier <lg.hc@free.fr>
This commit is contained in:
lolodomo
2025-05-25 21:17:01 +02:00
committed by GitHub
parent c53a6a9e61
commit 26c2631296
@@ -210,7 +210,7 @@ public class YamlModelRepositoryImpl implements WatchService.WatchEventListener,
if (!node.isContainerNode() || node.isArray()) {
// all processable sub-elements are container nodes (not array)
logger.trace("Element {} in model {} is not a container object, ignoring it", elementName,
logger.warn("Element {} in model {} is not a container object, ignoring it", elementName,
modelName);
if (getElementName(YamlSemanticTagDTO.class).equals(elementName) && node.isArray()) {
logger.warn(