2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-11-22 10:22:27 +00:00

Decode bytes attribute values outside of dicts too

This commit is contained in:
Markus Hilger
2026-11-04 15:07:32 +01:00
parent 48b7dc62b5
commit 9cbe3b91d8
+2 -2
View File
@@ -99,8 +99,8 @@ def get_hostvars(cfg, node):
data = data.get('value')
if not data:
continue
if isinstance(data, bytes):
data = data.decode()
if isinstance(data, bytes):
data = data.decode()
attribs[attrib] = data
return nest_attributes(attribs)