Produce an empty map if so directed
This commit is contained in:
parent
c7ecb73353
commit
a244175677
|
|
@ -632,9 +632,6 @@ public class ConfigurationAsCode extends ManagementLink {
|
|||
}
|
||||
tuples.add(new NodeTuple(new ScalarNode(Tag.STR, entry.getKey(), null, null, PLAIN), valueNode));
|
||||
}
|
||||
if (tuples.isEmpty()) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return new MappingNode(Tag.MAP, tuples, BLOCK);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue