From 675926019dc6782d009f53ff267e1d97d9eb0267 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Thu, 9 Nov 2017 00:14:43 +0100 Subject: jenkins.rs: Rename `update_commit_status` function Realised tonight that I had used the same name for this function and for the function in `github.rs` that updates the commit status on GitHub. Since it doesn't really make sense for these two different functions to have the same name, rename this one to be more specific about what it does. --- src/jenkins.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/jenkins.rs b/src/jenkins.rs index 543c970..42fe6e4 100644 --- a/src/jenkins.rs +++ b/src/jenkins.rs @@ -61,7 +61,7 @@ impl Job { } } -pub fn update_commit_status(commit_ref) { +pub fn find_and_track_build_and_update_status(commit_ref) { let jobs = get_jobs(); for job_url in jobs { -- cgit v1.2.3