diff options
author | Teddy Wing | 2017-11-09 01:14:38 +0100 |
---|---|---|
committer | Teddy Wing | 2017-11-09 01:14:38 +0100 |
commit | 254fa3fb4411f96ecd02f0c69a89ba5f2a5c8c95 (patch) | |
tree | 9ef4ceb7f61536170f98e634430ec3b501745d18 /src/jenkins.rs | |
parent | df0b5cd4b3c4af93019e2f628fa32101242d4ec2 (diff) | |
download | kipper-254fa3fb4411f96ecd02f0c69a89ba5f2a5c8c95.tar.bz2 |
CommitRef: Add `owner` field
This field stores the "owner" of the commit on GitHub, in other words, a
user or organisation. Storing that information in this struct makes it
easier to pass around.
Diffstat (limited to 'src/jenkins.rs')
-rw-r--r-- | src/jenkins.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/jenkins.rs b/src/jenkins.rs index 9868b50..37e5879 100644 --- a/src/jenkins.rs +++ b/src/jenkins.rs @@ -261,6 +261,7 @@ mod tests { }; let commit_ref = CommitRef { + owner: "uso".to_string(), repo: "vivid-system".to_string(), sha: "b4a286e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c".to_string(), branch: "1753-fix-everything".to_string(), @@ -277,6 +278,7 @@ mod tests { }; let commit_ref = CommitRef { + owner: "uso".to_string(), repo: "vivid-system".to_string(), sha: "b4a286e67d8f5eaf1f6ba5c57fc3c7d91ac0fd1c".to_string(), branch: "1753-fix-everything".to_string(), |