on initial SCM inv src creation update, dont update project rev

This commit is contained in:
AlanCoding
2017-07-24 15:12:16 -04:00
parent 01316aebf7
commit cc547af18b
4 changed files with 4 additions and 4 deletions

View File

@@ -1421,7 +1421,7 @@ class RunProjectUpdate(BaseTask):
if InventoryUpdate.objects.filter(inventory_source=inv_src,
status__in=ACTIVE_STATES).exists():
logger.info('Skipping SCM inventory update for `{}` because '
'another update is already active.'.format(inv.name))
'another update is already active.'.format(inv_src.name))
continue
local_inv_update = inv_src.create_inventory_update(
launch_type='scm',