Skip to content

Commit e71b1a7

Browse files
authored
worker/jobs/index/sync: Fix krate.name logging (#9726)
We don't need to log this in a quoted way since we're using JSON output on production these days anyway
1 parent 3e9d6e3 commit e71b1a7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/worker/jobs/index/sync.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ impl BackgroundJob for SyncToGitIndex {
3030
type Context = Arc<Environment>;
3131

3232
/// Regenerates or removes an index file for a single crate
33-
#[instrument(skip_all, fields(krate.name = ? self.krate))]
33+
#[instrument(skip_all, fields(krate.name = self.krate))]
3434
async fn run(&self, env: Self::Context) -> anyhow::Result<()> {
3535
info!("Syncing to git index");
3636

@@ -97,7 +97,7 @@ impl BackgroundJob for SyncToSparseIndex {
9797
type Context = Arc<Environment>;
9898

9999
/// Regenerates or removes an index file for a single crate
100-
#[instrument(skip_all, fields(krate.name = ?self.krate))]
100+
#[instrument(skip_all, fields(krate.name = self.krate))]
101101
async fn run(&self, env: Self::Context) -> anyhow::Result<()> {
102102
info!("Syncing to sparse index");
103103

0 commit comments

Comments
 (0)