Merge pull request #7479 from chris93111/patch-2

correction inventory endpoint tower_workflow_job_template_node.py

Reviewed-by: https://github.com/apps/softwarefactory-project-zuul
This commit is contained in:
softwarefactory-project-zuul[bot] 2020-06-30 17:10:25 +00:00 committed by GitHub
commit 5c12022529
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -224,7 +224,7 @@ def main():
inventory = module.params.get('inventory')
if inventory:
new_fields['inventory'] = module.resolve_name_to_id('inventory', inventory)
new_fields['inventory'] = module.resolve_name_to_id('inventories', inventory)
# Create the data that gets sent for create and update
for field_name in (