designate/releasenotes
Omer 7e58bdd525 Fix YAMLAdapter when optional attributes are missing
So far, using YAMLAdapter in pools.yaml context, without providing all
of the pools.yaml attributes altogether, failed because of YAMLAdapter.

An example could be an end user who wouldn't like to deploy catalog
zones in its pools and therefore would drop that attribute from the
pools.yaml file, like in
designate/tests/resources/pools_yaml/multiple-pools.yaml.

Running any designate-manage pool command on a file without all of the
pools.yaml attributes will fail with the following error message:

designate.exceptions.AdapterNotFound:
Adapter for None to format YAML not found

This patch fixes it.

Closes-Bug: #2064720
Change-Id: I214cfc05a834d97a61d0236ab223470631bfc405
(cherry picked from commit 6cc0a7d887)
2024-10-29 18:08:32 +01:00
..
notes Fix YAMLAdapter when optional attributes are missing 2024-10-29 18:08:32 +01:00
source Merge "reno: Update master for unmaintained/xena" 2024-03-05 23:02:48 +00:00