[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>
Bu işleme şunda yer alıyor:
işlemeyi yapan:
Arif, Maisam
ebeveyn
d4a946717b
işleme
6fbda16098
@@ -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):
|
||||
|
||||
Yeni konuda referans
Bir kullanıcı engelle