mirror of
https://github.com/danieldemus/openhab-core.git
synced 2026-07-29 12:34:22 +02:00
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:
+1
-1
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user