diff --git a/pdc-update/src/main.rs b/pdc-update/src/main.rs index c97793c..642a17c 100644 --- a/pdc-update/src/main.rs +++ b/pdc-update/src/main.rs @@ -101,7 +101,15 @@ async fn main() -> Result<(), Box> { }) .collect::>(); + let n = updates.len(); + // Apply updates worker_updater.update_many(updates).await?; + + match n { + 0 => {} + 1 => log::info!("{n} pod has been updated"), + _ => log::info!("{n} pods have been updated"), + } } }