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>
This commit is contained in:
parent
16aa82a974
commit
5f9ee7cc53
@ -47,7 +47,7 @@ def _GetWebhookSaltFromMetadata():
|
|||||||
raise AndroidCompileException(
|
raise AndroidCompileException(
|
||||||
'Return code from %s was %s' % (GCE_WEBHOOK_SALT_METADATA_URI,
|
'Return code from %s was %s' % (GCE_WEBHOOK_SALT_METADATA_URI,
|
||||||
resp.status_code))
|
resp.status_code))
|
||||||
return resp.text
|
return base64.standard_b64decode(resp.text)
|
||||||
|
|
||||||
|
|
||||||
def _GetAuthHeaders(data, options):
|
def _GetAuthHeaders(data, options):
|
||||||
|
Loading…
Reference in New Issue
Block a user