From 72f045925c8536c4ade24f1b7fa3748ead43581b Mon Sep 17 00:00:00 2001 From: Lila Date: Wed, 20 Nov 2024 16:05:18 -0500 Subject: [PATCH] Add description for scm Changed double quotes to single quotes on scm description to see if that impacts the failing api schema test Move descriptions manually added together for easier readability --- awx/main/utils/plugins.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/awx/main/utils/plugins.py b/awx/main/utils/plugins.py index 6c5b314b42c4..ad2148e882d8 100644 --- a/awx/main/utils/plugins.py +++ b/awx/main/utils/plugins.py @@ -76,8 +76,10 @@ def load_combined_inventory_source_options() -> dict[str, str]: plugin_description = discover_available_cloud_provider_descriptions() - result = {plugin: plugin_description.get(plugin, plugin) for plugin in plugins} + plugin_description['scm'] = 'Sourced from a Project' + + plugin_description['file'] = 'File-based inventory source' - result['file'] = 'File-based inventory source' + result = {plugin: plugin_description.get(plugin, plugin) for plugin in plugins} return result