Skip to content

Commit aed1daf

Browse files
committed
fmt
1 parent 361f1d7 commit aed1daf

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

opentelemetry-sdk/src/logs/log_processor.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,8 @@ impl LogProcessor for BatchLogProcessor {
353353

354354
fn shutdown(&self) -> LogResult<()> {
355355
// Set is_shutdown to true
356-
self.is_shutdown.store(true, std::sync::atomic::Ordering::Relaxed);
356+
self.is_shutdown
357+
.store(true, std::sync::atomic::Ordering::Relaxed);
357358

358359
let dropped_logs = self.dropped_logs_count.load(Ordering::Relaxed);
359360
let max_queue_size = self.max_queue_size;

0 commit comments

Comments
 (0)