request-id is not optional now
This commit is contained in:
parent
17f9a17f6a
commit
30de4a7927
2 changed files with 4 additions and 4 deletions
|
@ -17,7 +17,7 @@ pub struct BuildResult {
|
|||
pub system: String,
|
||||
pub output: Vec<String>,
|
||||
pub attempt_id: String,
|
||||
pub request_id: Option<String>,
|
||||
pub request_id: String,
|
||||
pub success: Option<bool>, // replaced by status
|
||||
pub status: Option<BuildStatus>,
|
||||
pub skipped_attrs: Option<Vec<String>>,
|
||||
|
|
|
@ -118,7 +118,7 @@ impl<'a, 'b> JobActions<'a, 'b> {
|
|||
system: self.system.clone(),
|
||||
output: vec![String::from("Merge failed")],
|
||||
attempt_id: self.attempt_id.clone(),
|
||||
request_id: Some(self.job.request_id.clone()),
|
||||
request_id: self.job.request_id.clone(),
|
||||
attempted_attrs: None,
|
||||
skipped_attrs: None,
|
||||
status: Some(BuildStatus::Failure),
|
||||
|
@ -202,7 +202,7 @@ impl<'a, 'b> JobActions<'a, 'b> {
|
|||
system: self.system.clone(),
|
||||
output: self.log_snippet(),
|
||||
attempt_id: self.attempt_id.clone(),
|
||||
request_id: Some(self.job.request_id.clone()),
|
||||
request_id: self.job.request_id.clone(),
|
||||
skipped_attrs: Some(not_attempted_attrs),
|
||||
attempted_attrs: None,
|
||||
status: None,
|
||||
|
@ -243,7 +243,7 @@ impl<'a, 'b> JobActions<'a, 'b> {
|
|||
system: self.system.clone(),
|
||||
output: self.log_snippet(),
|
||||
attempt_id: self.attempt_id.clone(),
|
||||
request_id: Some(self.job.request_id.clone()),
|
||||
request_id: self.job.request_id.clone(),
|
||||
status: Some(status),
|
||||
success: Some(success),
|
||||
attempted_attrs: Some(attempted_attrs),
|
||||
|
|
Loading…
Reference in a new issue