Bug 1460906 Fix use of config.params and release_eta r=aki
authorSimon Fraser <sfraser@mozilla.com>
Fri, 11 May 2018 17:27:34 +0100
changeset 794484 fc4f2d0a1dfb663404260c36c1b5f85fc1b14f96
parent 794483 69875e2382db421ea1064fb09cb9710e89f7a532
child 794485 972eab977ff34fd59a6a6d829d426c2407d703e0
push id109697
push userbmo:sledru@mozilla.com
push dateSat, 12 May 2018 10:04:34 +0000
reviewersaki
bugs1460906
milestone62.0a1
Bug 1460906 Fix use of config.params and release_eta r=aki MozReview-Commit-ID: 9wtsZw118YX
taskcluster/taskgraph/transforms/task.py
--- a/taskcluster/taskgraph/transforms/task.py
+++ b/taskcluster/taskgraph/transforms/task.py
@@ -1042,17 +1042,17 @@ def build_balrog_payload(config, task, t
                 'partial_versions': release_config.get('partial_versions', ""),
                 'platforms': worker['platforms'],
                 'rules_to_update': worker['rules-to-update'],
                 'require_mirrors': worker['require-mirrors'],
             })
         else:  # schedule / ship
             task_def['payload'].update({
                 'publish_rules': worker['publish-rules'],
-                'release_eta': worker.get('release-eta', config.params.get('release_eta', '')),
+                'release_eta': worker.get('release-eta', config.params.get('release_eta')) or '',
             })
 
 
 @payload_builder('bouncer-aliases')
 def build_bouncer_aliases_payload(config, task, task_def):
     worker = task['worker']
 
     task_def['payload'] = {