@property methods in Managers are cached
Bug #1620722 reported by
Lance Bragstad
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Medium
|
David Stanek |
Bug Description
When working on the credential encryption spec, I found that one of the @property methods in the implementation was having it's value cached. Typical @property methods should be run every time they are called. This was not the case in the credential encryption implementation because we override the __getattr__ method in our base Manager class [0].
We should modify that method so that @property methods can be used when inheriting from the common Manager.
Changed in keystone: | |
assignee: | nobody → Lance Bragstad (lbragstad) |
status: | New → In Progress |
Changed in keystone: | |
importance: | Undecided → Medium |
milestone: | none → newton-rc1 |
To post a comment you must log in.
Patch is up for review - https:/ /review. openstack. org/#/c/ 364562/