Update scheduler task names to new ones

Related T1508
This commit is contained in:
Antoine Lambert 2019-05-16 14:48:59 +02:00
parent 6bf226d85d
commit 701d833cdf
2 changed files with 2 additions and 2 deletions

View file

@ -414,7 +414,7 @@ class SWHListerBase(abc.ABC, config.SWHConfig):
Returns:
the same information in a different form
"""
_type = 'origin-update-%s' % origin_type
_type = 'load-%s' % origin_type
_policy = 'recurring'
return utils.create_task_dict(_type, _policy, origin_url)

View file

@ -28,7 +28,7 @@ class PyPILister(ListerOnePageApiTransport, SimpleLister):
needed for the ingestion task creation.
"""
_type = 'origin-update-%s' % origin_type
_type = 'load-%s' % origin_type
_policy = 'recurring'
project_name = kwargs.get('name')
project_metadata_url = kwargs.get('html_url')