2
0
mirror of https://opendev.org/x/pyghmi synced 2025-01-14 03:37:47 +00:00

Fix omission in new API

Do not report a problem on verifystate==1.

Change-Id: I38470f3c0c9b621f45248c0302e562ec33ccd554
This commit is contained in:
Jarrod Johnson 2018-12-10 08:27:26 -05:00
parent bff08bbe60
commit 58108b2e5d

View File

@ -1455,7 +1455,7 @@ class XCCClient(IMMClient):
raise Exception('Failed to verify firmware image')
if verifystatus != 1:
ipmisession.Session.pause(1)
if verifystatus not in (0, 255):
if verifystatus not in (0, 1, 255):
raise Exception(
'Unexpected reply to verifystate: ' + repr(rsp))
progress({'phase': 'validating',