From 8230d81b03f0f347357d46c32e54e0245971e358 Mon Sep 17 00:00:00 2001 From: Tobias Bieniek Date: Tue, 22 Oct 2024 21:18:02 +0200 Subject: [PATCH] worker/jobs/index/sync: Fix `krate.name` logging We don't need to log this in a quoted way since we're using JSON output on production these days anyway --- src/worker/jobs/index/sync.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/worker/jobs/index/sync.rs b/src/worker/jobs/index/sync.rs index 8523a70ce65..81de55bc568 100644 --- a/src/worker/jobs/index/sync.rs +++ b/src/worker/jobs/index/sync.rs @@ -30,7 +30,7 @@ impl BackgroundJob for SyncToGitIndex { type Context = Arc; /// Regenerates or removes an index file for a single crate - #[instrument(skip_all, fields(krate.name = ? self.krate))] + #[instrument(skip_all, fields(krate.name = self.krate))] async fn run(&self, env: Self::Context) -> anyhow::Result<()> { info!("Syncing to git index"); @@ -97,7 +97,7 @@ impl BackgroundJob for SyncToSparseIndex { type Context = Arc; /// Regenerates or removes an index file for a single crate - #[instrument(skip_all, fields(krate.name = ?self.krate))] + #[instrument(skip_all, fields(krate.name = self.krate))] async fn run(&self, env: Self::Context) -> anyhow::Result<()> { info!("Syncing to sparse index");