flakehub logging review comments
This commit is contained in:
parent
7841b8bbe2
commit
625d7717b6
|
@ -103,16 +103,11 @@ async fn workflow_finish(
|
||||||
tracing::info!("Waiting for FlakeHub cache uploads to finish");
|
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!(
|
let paths = paths.keys().map(|s| s.name()).collect::<Vec<_>>();
|
||||||
"Uploaded to FlakeHub Cache: {}",
|
|
||||||
paths
|
tracing::info!(?paths, "FlakeHub Cache uploads completed.",);
|
||||||
.keys()
|
|
||||||
.map(|s| s.name())
|
|
||||||
.collect::<Vec<_>>()
|
|
||||||
.join(", ")
|
|
||||||
);
|
|
||||||
} else {
|
} else {
|
||||||
tracing::info!("NOT Waiting for FlakeHub cache uploads to finish");
|
tracing::info!("FlakeHub cache is not enabled, not uploading anything to it");
|
||||||
}
|
}
|
||||||
|
|
||||||
if let Some(sender) = state.shutdown_sender.lock().await.take() {
|
if let Some(sender) = state.shutdown_sender.lock().await.take() {
|
||||||
|
|
Loading…
Reference in a new issue