mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 15:09:32 -02:30
on initial SCM inv src creation update, dont update project rev
This commit is contained in:
@@ -314,7 +314,7 @@ def scm_inventory_source(inventory, project):
|
||||
update_on_project_update=True,
|
||||
inventory=inventory,
|
||||
scm_last_revision=project.scm_revision)
|
||||
with mock.patch.object(inv_src.source_project, 'update'):
|
||||
with mock.patch('awx.main.models.unified_jobs.UnifiedJobTemplate.update'):
|
||||
inv_src.save()
|
||||
return inv_src
|
||||
|
||||
|
||||
Reference in New Issue
Block a user