aboutsummaryrefslogtreecommitdiffstats
path: root/etc/ci/performance/submit_to_perfherder.py
diff options
context:
space:
mode:
Diffstat (limited to 'etc/ci/performance/submit_to_perfherder.py')
-rw-r--r--etc/ci/performance/submit_to_perfherder.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/etc/ci/performance/submit_to_perfherder.py b/etc/ci/performance/submit_to_perfherder.py
index e8f0f267c15..be2709ceea7 100644
--- a/etc/ci/performance/submit_to_perfherder.py
+++ b/etc/ci/performance/submit_to_perfherder.py
@@ -317,8 +317,7 @@ def submit(perf_data, failures, revision, summary, engine):
'secret': os.environ['TREEHERDER_CLIENT_SECRET']
}
- client = TreeherderClient(protocol='https',
- host='treeherder.allizom.org',
+ client = TreeherderClient(server_url='https://treeherder.mozilla.org',
client_id=cred['client_id'],
secret=cred['secret'])
@@ -331,7 +330,7 @@ def submit(perf_data, failures, revision, summary, engine):
def main():
parser = argparse.ArgumentParser(
description=("Submit Servo performance data to Perfherder. "
- "Remember to set your Treeherder credentail as environment"
+ "Remember to set your Treeherder credential as environment"
" variable \'TREEHERDER_CLIENT_ID\' and "
"\'TREEHERDER_CLIENT_SECRET\'"))
parser.add_argument("perf_json",