Skip to content

Commit 2535c9f

Browse files
Fix tracing
1 parent 06290b2 commit 2535c9f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

client/src/file/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -399,6 +399,7 @@ impl Keyring {
399399
/// Delete an item.
400400
#[cfg_attr(feature = "tracing", tracing::instrument(skip(self, attributes)))]
401401
pub async fn delete(&self, attributes: &impl AsAttributes) -> Result<(), Error> {
402+
#[cfg(feature = "tracing")]
402403
let items_before = { self.keyring.read().await.items.len() };
403404

404405
{

0 commit comments

Comments
 (0)