diff options
author | Vincent Ambo <tazjin@google.com> | 2020-02-21T22·51+0000 |
---|---|---|
committer | Vincent Ambo <tazjin@google.com> | 2020-02-21T22·51+0000 |
commit | 8377fd48f51df43b2c2376b5be34d1d63e72185d (patch) | |
tree | c834bc67c066cc0d062483aeba2b4fa78efb90dc /ops | |
parent | 28563a747cbfe4483082450dc35ab87347e92d1a (diff) |
fix(ops/besadii): Send auth token in correct format
Diffstat (limited to 'ops')
-rw-r--r-- | ops/besadii/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ops/besadii/main.go b/ops/besadii/main.go index 34b33f9cac1c..438dd91f5e8b 100644 --- a/ops/besadii/main.go +++ b/ops/besadii/main.go @@ -106,7 +106,7 @@ func triggerBuild(log *syslog.Writer, token, branch, commit string) { os.Exit(1) } - req.Header.Add("Authorization", token) + req.Header.Add("Authorization", "token " + token) req.Header.Add("Content-Type", "application/json") resp, err := http.DefaultClient.Do(req) |