commit 13ef220ce3529fa7b8e11c6e4c5b352d05b6f148
Author: Frode Nordahl <email address hidden>
Date: Sat Feb 26 07:34:03 2022 +0100
core: Gracefully handle missing config option
The ``get_os_codename_package`` function will be called by all
charms. The newly added call to the ``configure_source`` method
may in some circumstances raise an exception due to missing
source configuration option.
Reviewed: https:/ /review. opendev. org/c/openstack /charms. openstack/ +/831074 /opendev. org/openstack/ charms. openstack/ commit/ 13ef220ce3529fa 7b8e11c6e4c5b35 2d05b6f148
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 13ef220ce3529fa 7b8e11c6e4c5b35 2d05b6f148
Author: Frode Nordahl <email address hidden>
Date: Sat Feb 26 07:34:03 2022 +0100
core: Gracefully handle missing config option
The ``get_os_ codename_ package` ` function will be called by all source` ` method
charms. The newly added call to the ``configure_
may in some circumstances raise an exception due to missing
source configuration option.
Handle this situation gracefully.
Related-Bug: #1951462 a366bd7b7f6a10c 3140ce09000
Change-Id: I2bb9c2561b89fe