From d2ce211899d55ab4d00891a03b21e8cccc5e222b Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Sat, 20 Jun 2020 06:15:26 +0200 Subject: [PATCH] fixup for previous commit --- src/tools/disks/zpool_status.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/tools/disks/zpool_status.rs b/src/tools/disks/zpool_status.rs index 34f88550..b1a1a1fa 100644 --- a/src/tools/disks/zpool_status.rs +++ b/src/tools/disks/zpool_status.rs @@ -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(