Correct provider default inheritance

We were inheriting the base section of a provider twice, which is
noticeable in the case of lists since they are appended.  This
change corrects that by starting with an empty dictionary.

Change-Id: Iedd54ee817c6bcd6dd32cdf34eb9ba73519eeb57
This commit is contained in:
James E. Blair
2025-09-23 17:12:16 -07:00
parent d899bc615f
commit 7885143646
3 changed files with 7 additions and 2 deletions

View File

@@ -2029,8 +2029,7 @@ class ProviderConfig(ConfigObject):
previous_section = parent_section
inheritance_path.reverse()
root = inheritance_path[0]
config = copy.deepcopy(root.config)
config = {}
connection = connections.get(connection_name)
if connection is None:
raise UnknownConnection(connection_name)