Merge pull request #27 from AlanCoding/initial_sync

Use "sync" type when doing SCM inv src update on create
This commit is contained in:
Alan Rominger
2017-07-24 21:20:08 -04:00
committed by GitHub
4 changed files with 4 additions and 4 deletions

View File

@@ -1422,7 +1422,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',