Skip to content

Commit

Permalink
shutdown: info! print paths after FHC upload
Browse files Browse the repository at this point in the history
  • Loading branch information
colemickens committed Nov 5, 2024
1 parent 9f7a4ab commit 02bdb39
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion magic-nix-cache/src/api.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ async fn workflow_finish(

if let Some(attic_state) = state.flakehub_state.write().await.take() {
tracing::info!("Waiting for FlakeHub cache uploads to finish");
let _paths = attic_state.push_session.wait().await?;
let paths = attic_state.push_session.wait().await?;

tracing::info!("Waited for FlakeHub cache upload. Uploaded: {}", paths.keys().map(|s| s.name()).collect::<Vec<_>>().join(", "));
} else {
tracing::info!("NOT Waiting for FlakeHub cache uploads to finish");
}
Expand Down

0 comments on commit 02bdb39

Please sign in to comment.