charm-ceph-mon/hooks/charmhelpers/contrib
Corey Bryant d695ab315f Fix handling of profile-name
The current code:
self.profile_name = op.get('crush-profile', profile_name)

will only default to profile_name if the 'crush-profile' key
doesn't exist in the op dictionary. If the 'crush-profile' key
exists and is set to None, the default profile_name is not used.

This change will use the default profile_name in both cases.

A full charm-helpers sync is done here.

Closes-Bug: #1960622
Change-Id: If9749e16eadfab5523d06c82f3899a83b8c6fdc1
2022-02-18 12:26:18 -05:00
..
charmsupport Fix handling of profile-name 2022-02-18 12:26:18 -05:00
hahelpers Fix handling of profile-name 2022-02-18 12:26:18 -05:00
hardening Fix handling of profile-name 2022-02-18 12:26:18 -05:00
network Fix handling of profile-name 2022-02-18 12:26:18 -05:00
openstack Fix handling of profile-name 2022-02-18 12:26:18 -05:00
storage Fix handling of profile-name 2022-02-18 12:26:18 -05:00
__init__.py Resync charmhelpers for licensing change 2016-07-06 16:30:20 +01:00