about summary refs log tree commit diff
path: root/ops/besadii
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-02-21T22·51+0000
committerVincent Ambo <tazjin@google.com>2020-02-21T22·51+0000
commit8377fd48f51df43b2c2376b5be34d1d63e72185d (patch)
treec834bc67c066cc0d062483aeba2b4fa78efb90dc /ops/besadii
parent28563a747cbfe4483082450dc35ab87347e92d1a (diff)
fix(ops/besadii): Send auth token in correct format
Diffstat (limited to 'ops/besadii')
-rw-r--r--ops/besadii/main.go2
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)