diff --git a/ofborg/src/tasks/massrebuilder.rs b/ofborg/src/tasks/massrebuilder.rs index 3a9953f..6d3274d 100644 --- a/ofborg/src/tasks/massrebuilder.rs +++ b/ofborg/src/tasks/massrebuilder.rs @@ -737,18 +737,16 @@ fn request_reviews( ) { if let Ok(ref maint) = m { if maint.maintainers().len() < 10 { - if let Err(e) = - pull.review_requests() - .create(&hubcaps::review_requests::ReviewRequestOptions { - reviewers: maint.maintainers(), - team_reviewers: vec![], - }) - { - println!( - "Failure adding review requests for maintainers ({:?}): {:#?}", - maint.maintainers(), - e, - ); + for maintainer in maint.maintainers() { + if let Err(e) = + pull.review_requests() + .create(&hubcaps::review_requests::ReviewRequestOptions { + reviewers: vec![maintainer.clone()], + team_reviewers: vec![], + }) + { + println!("Failure requesting a review from {}: {:#?}", maintainer, e,); + } } } }