juju / charm-helpers

Apache License 2.0
18 stars 127 forks source link

Drop @cached decorator from openstack_release() #852

Closed coreycb closed 8 months ago

coreycb commented 1 year ago

The openstack_release() function is typically called (indirectly) by os_release() which already does caching. The caching of openstack_release() was preventing updates to the value during upgrading to a new release of openstack.

Closes-Bug: #2037751 (cherry picked from commit https://github.com/juju/charm-helpers/commit/b2d56ea0da322534de6295b0b09540dedf583e3c)