npm.lister: Update loading task name

Related T1508
This commit is contained in:
Antoine Lambert 2019-04-10 18:24:35 +02:00
parent dac7777cd6
commit 0b8d1d464d

View file

@ -54,7 +54,7 @@ class NpmListerBase(SWHIndexingHttpLister):
needed for the ingestion task creation.
"""
task_type = 'origin-update-%s' % origin_type
task_type = 'load-%s' % origin_type
task_policy = self.config['loading_task_policy']
package_name = kwargs.get('name')
package_metadata_url = kwargs.get('html_url')