charms.openstack/charms_openstack
Alex Kavanagh 581300632b Further fix to OpenStackAPIRelationAdapters
The existing method of using a property to lazily load the cluster
relation adapter permanently changes the class to include that as
a cluster property.  This means that a future (in the same hook
execution) instantiation of the class would include that property,
which means that 'real' cluster adapter could not be used. Sadly,
this was happening with the manila charm, and possibly others.

This patch changes it from a lazily loaded property, to a simple
attribute.

Change-Id: I704f362e0dd845ff00d0f0470b0235a4dead5f9f
Closes-Bug: #1981736
2022-08-04 11:57:02 +01:00
..
charm lint: Fix line too long in docstring blocking gate 2022-08-01 08:10:02 +02:00
devices Added ovs, odl and pci modules 2016-09-14 13:58:05 +00:00
plugins Add new Trilio version template property 2022-06-16 10:02:47 +00:00
sdn Added ovs, odl and pci modules 2016-09-14 13:58:05 +00:00
__init__.py Add license headers to all source files 2016-06-28 11:13:14 +01:00
adapters.py Further fix to OpenStackAPIRelationAdapters 2022-08-04 11:57:02 +01:00
bus.py bus: Allow overriding discover search path 2019-11-19 11:07:27 +01:00
ip.py Stop getting {public,private}-address from unit-get 2021-01-15 08:32:56 +00:00
test_mocks.py Add zed to testing mocks 2022-05-17 20:52:32 +00:00
test_utils.py Use unittest.mock instead of mock 2021-12-14 13:06:13 +00:00