2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-12-25 12:41:39 +00:00

Fix bad SPD handling

If the memory is not DDR3/DDR4, cease further attempt to format
data.
This commit is contained in:
Jarrod Johnson 2017-12-07 16:51:55 -05:00
parent 60e8338b47
commit 0ae315a12f

View File

@ -51,7 +51,7 @@ def print_mem_info(node, prefix, meminfo):
memdescfmt += '3-{1} '
elif meminfo['memory_type'] == 'DDR4 SDRAM':
memdescfmt += '4-{1} '
elif meminfo['memory_type'] == 'Unknown':
else:
print('{0}: Unrecognized Memory'.format(node))
return
if meminfo['ecc']: