resource.header with no alias causes AttributeError
Bug #1428342 reported by
Brian Curtin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack SDK |
Fix Released
|
Critical
|
Brian Curtin |
Bug Description
When a resource.header has no alias and its original name is not found, we raise a KeyError on the original name, and then we go try to look up the alias name. Since resource.header is looking into requests' CaseInsensitive
We will always have a name, but not always an alias. If we catch AttributeError as well, we'll be safe.
Changed in python-openstacksdk: | |
status: | Fix Committed → Fix Released |
milestone: | none → halfliberty |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/161438
Review: https:/