Skip to content

Commit

Permalink
Add description for scm
Browse files Browse the repository at this point in the history
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
  • Loading branch information
djyasin committed Nov 21, 2024
1 parent 595b425 commit 72f0459
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions awx/main/utils/plugins.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 72f0459

Please sign in to comment.