Skip to content

Commit

Permalink
parse the output from the beginning of the line (sonic-net#451)
Browse files Browse the repository at this point in the history
Signed-off-by: Kebo Liu <[email protected]>
Co-authored-by: Liat Grozovik <[email protected]>
  • Loading branch information
keboliu and liat-grozovik authored Apr 23, 2024
1 parent dff8d48 commit df6b6c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sonic_platform_base/sonic_ssd/ssd_generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def parse_swissbit_info(self):
if temp_raw == NOT_AVAILABLE:
self.temperature = NOT_AVAILABLE
else:
self.temperature = temp_raw.split()[-3]
self.temperature = temp_raw.split()[8]

def parse_transcend_info(self):
if self.vendor_ssd_info:
Expand Down

0 comments on commit df6b6c6

Please sign in to comment.