[SWDEV-512393] Print keys of lists in custom_dump
The custom_dump function was not printing list's key and so static numa was not displaying list keys CPU affinity and Socket affinity. Updated custom_dump to print the keys. Signed-off-by: Bindhiya Kanangot Balakrishnan <Bindhiya.KanangotBalakrishnan@amd.com>
This commit is contained in:
1 parent
d4a946717b
commit
6fbda16098
1 file changed
+1
-1
@@ -325,7 +325,7 @@ class AMDSMILogger():
|
||||
elif isinstance(value, list):
|
||||
if not value:
|
||||
yaml_string += " " * indent + f"{key}: N/A\n"
|
||||
elif isinstance(value, dict):
|
||||
else:
|
||||
yaml_string += " " * indent + f"{key}:\n"
|
||||
for item in value:
|
||||
if isinstance(item, dict):
|
||||
|
||||
Reference in new issue
Block a user