aboutsummaryrefslogtreecommitdiffhomepage
path: root/infra
diff options
context:
space:
mode:
authorGravatar Ravi Mistry <rmistry@google.com>2018-02-01 09:31:54 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2018-02-01 14:43:22 +0000
commit5f9ee7cc53d28c8ff2d000436bfee195c493ccdf (patch)
tree57250268fc9beceb3e4c49714e57ee300efd00c8 /infra
parent16aa82a974f61589fa3ec8040aa1386c64a8e8df (diff)
Fixes to trigger_wait_ac_task.py
Turns out I made the exact same mistake 2.5 years ago: https://codereview.chromium.org/1373863002/ NoTry: true Bug: skia:7469 Change-Id: Id21150db072f2e9cb8e4e4b8462cac1a085a5193 Reviewed-on: https://skia-review.googlesource.com/102481 Reviewed-by: Eric Boren <borenet@google.com> Commit-Queue: Ravi Mistry <rmistry@google.com>
Diffstat (limited to 'infra')
-rw-r--r--infra/bots/android_compile/trigger_wait_ac_task.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/infra/bots/android_compile/trigger_wait_ac_task.py b/infra/bots/android_compile/trigger_wait_ac_task.py
index dcbde3ec9c..4abb67146e 100644
--- a/infra/bots/android_compile/trigger_wait_ac_task.py
+++ b/infra/bots/android_compile/trigger_wait_ac_task.py
@@ -47,7 +47,7 @@ def _GetWebhookSaltFromMetadata():
raise AndroidCompileException(
'Return code from %s was %s' % (GCE_WEBHOOK_SALT_METADATA_URI,
resp.status_code))
- return resp.text
+ return base64.standard_b64decode(resp.text)
def _GetAuthHeaders(data, options):