Skip to content

Commit 7a33c33

Browse files
Merge pull request theseus-rs#52 from theseus-rs/suppress-bytes-in-instrumentation
fix: suppress bytes parameter in tracing instrumentation
2 parents 6396d13 + e2b4a2c commit 7a33c33

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

postgresql_archive/src/archive.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ fn acquire_lock(out_dir: &Path) -> Result<PathBuf> {
320320
}
321321

322322
/// Extracts the compressed tar [bytes](Bytes) to the [out_dir](Path).
323-
#[instrument]
323+
#[instrument(skip(bytes))]
324324
pub async fn extract(bytes: &Bytes, out_dir: &Path) -> Result<()> {
325325
let input = BufReader::new(Cursor::new(bytes));
326326
let decoder = GzDecoder::new(input);

0 commit comments

Comments
 (0)