mirror of
https://opendev.org/x/pyghmi
synced 2026-04-01 07:43:39 +00:00
Correct mispelling in error message
Change-Id: Ia6c2d9a4a5e8401d7c2eb64c685dccbbf1794b78
This commit is contained in:
@@ -263,7 +263,7 @@ class FRU(object):
|
||||
if offset == 0:
|
||||
return
|
||||
if self.databytes[offset] & 0b1111 != 1:
|
||||
raise iexc.BmcErrorException("Invallid/Unsupported chassis area")
|
||||
raise iexc.BmcErrorException("Invalid/Unsupported chassis area")
|
||||
inf = self.info
|
||||
# ignore length field, just process the data
|
||||
inf['Chassis type'] = enclosure_types[self.databytes[offset + 2]]
|
||||
|
||||
Reference in New Issue
Block a user