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

Preserve logout on storage failure

If the storage call should fail, carry on logic to allow the situation
to clean out.

Change-Id: I325c0870bdc2ff358ed872697c15b5963ca836a0
This commit is contained in:
Jarrod Johnson 2018-10-26 15:07:45 -04:00
parent a7db8615aa
commit 2367c85f25

View File

@ -1089,7 +1089,7 @@ class XCCClient(IMMClient):
'/api/function/raid_alldevices?params=storage_GetAllDevices')
standalonedisks = []
pools = []
for item in rsp['items']:
for item in rsp.get('items', []):
for cinfo in item['controllerInfo']:
cid = cinfo['id']
for pool in cinfo['pools']: