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:
parent
60e8338b47
commit
0ae315a12f
@ -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']:
|
||||
|
Loading…
Reference in New Issue
Block a user