Bug 1340689 - Fix typo causing every build to be a Nightly according to Perfherder. r=wlach
authorChris Manchester <cmanchester@mozilla.com>
Fri, 17 Feb 2017 13:38:36 -0800
changeset 372693 f965e6ecfcb363d6b9a681647b80d2780d05c86a
parent 372692 3f975da9fe342bb87f168fdd3c83dffc5a9ed4b9
child 372694 67ef6204c39823d2471293cd8e6554445d8e5625
push id10863
push userjlorenzo@mozilla.com
push dateMon, 06 Mar 2017 23:02:23 +0000
treeherdermozilla-aurora@0931190cd725 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewerswlach
bugs1340689
milestone54.0a1
Bug 1340689 - Fix typo causing every build to be a Nightly according to Perfherder. r=wlach MozReview-Commit-ID: 9UlWUPAnf1a
testing/mozharness/mozharness/mozilla/building/buildbase.py
--- a/testing/mozharness/mozharness/mozilla/building/buildbase.py
+++ b/testing/mozharness/mozharness/mozilla/building/buildbase.py
@@ -1992,17 +1992,17 @@ or run without that action (ie: --no-{ac
                 "alertThreshold": 0.25,
                 "subtests": size_measurements
             })
 
         build_metrics = self._load_build_resources()
         if build_metrics:
             perfherder_data['suites'].append(build_metrics)
 
-        if self.query_is_nightly:
+        if self.query_is_nightly():
             for suite in perfherder_data['suites']:
                 if 'extraOptions' in suite:
                     suite['extraOptions'] = ['nightly'] + suite['extraOptions']
                 else:
                     suite['extraOptions'] = ['nightly']
 
         if perfherder_data["suites"]:
             self.info('PERFHERDER_DATA: %s' % json.dumps(perfherder_data))