Bug 1360198 - don't set expiry for generic-worker task artifacts,r=dustin

This commit is contained in:
Peter Moore 2018-04-05 18:56:08 +02:00
Родитель dbeabc37e3
Коммит 87e9b41b25
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -921,7 +921,9 @@ def build_generic_worker_payload(config, task, task_def):
a = {
'path': artifact['path'],
'type': artifact['type'],
'expires': task_def['expires'], # always expire with the task
# let's not explicitly set here, as this is the default anyway
# and the Task Creator will not refresh these timestamps
# 'expires': task_def['expires'], # always expire with the task
}
if 'name' in artifact:
a['name'] = artifact['name']