2
0
mirror of https://opendev.org/x/pyghmi synced 2026-09-23 08:14:08 +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
+1 -1
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']: