use u64 for issue IDs
This commit is contained in:
parent
d95b349fe2
commit
56feb1c409
|
@ -86,7 +86,7 @@ impl CachedProjectCo {
|
|||
return Ok(self.clone_to().to_str().unwrap().to_string())
|
||||
}
|
||||
|
||||
pub fn fetch_pr(&self, pr_id: i64) -> Result<(),Error> {
|
||||
pub fn fetch_pr(&self, pr_id: u64) -> Result<(),Error> {
|
||||
let mut lock = self.lock()?;
|
||||
|
||||
let result = Command::new("git")
|
||||
|
|
|
@ -19,7 +19,7 @@ pub struct Repository {
|
|||
|
||||
#[derive(Serialize, Deserialize, Debug)]
|
||||
pub struct Issue {
|
||||
pub number: i32,
|
||||
pub number: u64,
|
||||
pub pull_request: Option<PullRequest>,
|
||||
}
|
||||
|
||||
|
|
|
@ -40,7 +40,6 @@ impl Actions {
|
|||
..Default::default()
|
||||
};
|
||||
|
||||
|
||||
return vec![
|
||||
worker::Action::Publish(worker::QueueMsg{
|
||||
exchange: Some("build-results".to_owned()),
|
||||
|
|
|
@ -10,6 +10,6 @@ pub struct Repo {
|
|||
#[derive(Serialize, Deserialize, Debug, Clone)]
|
||||
pub struct Pr {
|
||||
pub target_branch: Option<String>,
|
||||
pub number: i64,
|
||||
pub number: u64,
|
||||
pub head_sha: String,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue