Skip to content

Commit

Permalink
Fix logging to show non-debug ident
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Bottriell <ryan@bottriell.ca>
  • Loading branch information
rydrman committed Mar 16, 2022
1 parent 34ae30f commit 6d0fc03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/storage/archive.rs
Original file line number Diff line number Diff line change
Expand Up @@ -89,13 +89,13 @@ fn copy_package(
) -> Result<()> {
let spec = src_repo.read_spec(pkg)?;
if pkg.build.is_none() {
tracing::info!(?pkg, "exporting");
tracing::info!(%pkg, "exporting");
dst_repo.publish_spec(spec)?;
return Ok(());
}

let components = src_repo.get_package(pkg)?;
tracing::info!(?pkg, "exporting");
tracing::info!(%pkg, "exporting");
for (_name, digest) in components.iter() {
crate::HANDLE.block_on(spfs::sync_ref(digest.to_string(), src_repo, dst_repo))?;
}
Expand Down

0 comments on commit 6d0fc03

Please sign in to comment.