From 61613f08fb6c2e65828ea6493cb8bb5ed010333a Mon Sep 17 00:00:00 2001 From: luyf5 Date: Tue, 31 Aug 2021 16:42:25 +0800 Subject: [PATCH] Fix raid drive parameter https: //gitlab.icelab.lenovo.com/pygcon/pyghmi/commit/f107bd2795159aef13d4024c17f15179935f4263 (64105) Fix raid drive parameter Change-Id: Iabe4eff03251a2c2540e9523a4cb1310bb5440b6 --- pyghmi/ipmi/oem/lenovo/drive.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pyghmi/ipmi/oem/lenovo/drive.py b/pyghmi/ipmi/oem/lenovo/drive.py index acc5db3b..cf33d285 100755 --- a/pyghmi/ipmi/oem/lenovo/drive.py +++ b/pyghmi/ipmi/oem/lenovo/drive.py @@ -47,9 +47,7 @@ drive_fields = ( 0x00: "active", 0x01: "stopped", 0xff: "transitioning" - }), - # There seems to be an undocumented byte at the end - inventory.EntryField("Reserved", "B", include=False)) + })) def parse_drive_info(raw):