fixup for previous commit
This commit is contained in:
parent
1cb46c6f65
commit
d2ce211899
|
@ -240,8 +240,7 @@ where
|
|||
node: replace(&mut cur.node, node),
|
||||
level: replace(&mut cur.level, vdev_level),
|
||||
children_of_parent: replace(&mut cur.children_of_parent, Vec::new()),
|
||||
}); cur.children_of_parent = prev.children_of_parent;
|
||||
|
||||
});
|
||||
} else {
|
||||
// same indentation level, add to children of the previous level:
|
||||
cur.children_of_parent.push(Value::Object(
|
||||
|
|
Loading…
Reference in New Issue