aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorTeddy Wing2017-11-12 19:22:52 +0100
committerTeddy Wing2017-11-12 19:22:52 +0100
commitc3eac830c7713f2e2740b95fe2ef3664ae0a021d (patch)
tree52c50ef271f3d6d3b831957800ebc9e0b5edf9d1 /src/main.rs
parent1b2f71944f50ae3032737c0566c20ad046789b37 (diff)
downloadkipper-c3eac830c7713f2e2740b95fe2ef3664ae0a021d.tar.bz2
update_commit_status(): Pass GitHub token from command line argument
Take the GitHub API token as a parameter and pass it through from `find_and_track_build_and_update_status()`.
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs
index b03b963..fdcdeeb 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -108,7 +108,7 @@ fn main() {
&jenkins_url,
&jenkins_user_id,
&jenkins_token,
- &github_token,
+ github_token.clone(),
) {
Ok(_) => {},
Err(_) => return internal_server_error(),