Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions redfish_utilities/inventory.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ def catalog_collection(context, resource, name, inventory, chassis_id):
"""

if name in resource:
# some Chassis (such as a secondary Enclosure on HPE Apollo) may have empty PCIe devices collections
if not resource[name]:
return

collection = context.get(resource[name]["@odata.id"])
try:
verify_response(collection)
Expand Down