aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2017-11-17 00:14:50 +0100
committerTeddy Wing2017-11-17 00:14:50 +0100
commit23569d5af9d78d91ac8b8536552985175ddff302 (patch)
tree39d69055bb1304a36f8863c90297987889a17cc0
parent9dd7d28ec05830220133ae32db5d31835f523c81 (diff)
parent47ec45de9808045dc6b0c6a209727764ac627e82 (diff)
downloadkipper-23569d5af9d78d91ac8b8536552985175ddff302.tar.bz2
Merge branch 'remove-unnecessary-commented-code'
-rw-r--r--src/jenkins.rs4
-rw-r--r--src/pull_request.rs4
2 files changed, 0 insertions, 8 deletions
diff --git a/src/jenkins.rs b/src/jenkins.rs
index 860c4ca..2cd4858 100644
--- a/src/jenkins.rs
+++ b/src/jenkins.rs
@@ -234,8 +234,6 @@ pub fn get_jobs(
let body = response.text()?;
- // debug!("{}", body);
-
let jobs = json::parse(body.as_ref())?;
Ok(
@@ -260,8 +258,6 @@ pub fn request_job(
let body = response.text()?;
- // debug!("{}", body);
-
let job = Job::new(body)?;
Ok(job)
diff --git a/src/pull_request.rs b/src/pull_request.rs
index f44227e..fb06544 100644
--- a/src/pull_request.rs
+++ b/src/pull_request.rs
@@ -472,9 +472,5 @@ mod tests {
assert_eq!(commit_ref.repo, "public-repo");
assert_eq!(commit_ref.sha, "0d1a26e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c");
assert_eq!(commit_ref.branch, "changes");
-
- // repo name (repository/name)
- // commit SHA (`head_commit`)
- // branch name (`ref`)
}
}