Commit 561441c8 authored by Simon Jess's avatar Simon Jess
Browse files

Fix inventory view

Change-Id: Ibf7379ba38cebbbebeb5232587b8584b4603f250
parent 5a50beb6
......@@ -182,8 +182,8 @@ def _paint_host_inventory_tree(
if len(attributes := list(child.pairs.items())) == 1:
key, value = attributes[-1]
tree_renderer.show_attribute(value, AttributeDisplayHint.make(parsed_path, key))
else:
child.show(tree_renderer)
else:
child.show(tree_renderer)
code = HTML(output_funnel.drain())
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment