aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authorTeddy Wing2017-11-16 23:45:36 +0100
committerTeddy Wing2017-11-16 23:45:36 +0100
commit90ef027f2f36a8cb321b2dcaa8a411425338c200 (patch)
treef466dbd4a25bd1031d7eb0a4244357b208204fc3 /src/main.rs
parent84d4e100e93a5e3b630eaa355120871af46667d2 (diff)
downloadkipper-90ef027f2f36a8cb321b2dcaa8a411425338c200.tar.bz2
find_and_track_build_and_update_status(): Restore old arg types
I had changed these when I was having trouble passing the values through my double-closure, but now that that's settles, we can revert these types to the way they were before and get rid of the unnecessary `to_owned()` transformations.
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs
index 8c4fbfb..211a680 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -152,10 +152,10 @@ fn main() {
match jenkins::find_and_track_build_and_update_status(
commit_ref,
- &jenkins_url,
+ jenkins_url,
&jenkins_user_id,
&jenkins_token,
- &github_token,
+ github_token,
) {
Ok(_) => {},
Err(e) => {