Skip to content

Commit 65a71a1

Browse files
committed
testing fix
1 parent bf2482d commit 65a71a1

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

e2e-tests/utils/utils.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,11 @@ func normalizeWithPath(value any, path []string) any {
814814
continue
815815
}
816816
nextPath := append(append([]string{}, path...), k)
817-
out[k] = normalizeWithPath(child, nextPath)
817+
normalized := normalizeWithPath(child, nextPath)
818+
if m, ok := normalized.(map[string]any); ok && len(m) == 0 {
819+
continue
820+
}
821+
out[k] = normalized
818822
}
819823
return out
820824
case []any:

0 commit comments

Comments
 (0)