mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
fixed issue with subclasses across the repos clobbering each other, they
now merge
This commit is contained in:
@@ -135,7 +135,7 @@ def list_modules(module_dir, depth=0):
|
||||
res = list_modules(d, depth + 1)
|
||||
for key in res.keys():
|
||||
if key in categories:
|
||||
categories[key].update(res[key])
|
||||
categories[key] = ansible.utils.merge_hash(categories[key], res[key])
|
||||
res.pop(key, None)
|
||||
|
||||
if depth < 2:
|
||||
|
||||
Reference in New Issue
Block a user