Skip to content

Commit e99263a

Browse files
committed
Update minor nit
1 parent e6ea337 commit e99263a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

sdk/include/opentelemetry/sdk/logs/batch_log_processor.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,6 @@ class BatchLogProcessor : public LogProcessor
123123

124124
/* Synchronization primitives */
125125
std::condition_variable cv_, force_flush_cv_, async_shutdown_cv_;
126-
;
127126
std::mutex cv_m_, force_flush_cv_m_, shutdown_m_, async_shutdown_m_;
128127

129128
/* The buffer/queue to which the ended logs are added */

sdk/src/trace/batch_span_processor.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ void BatchSpanProcessor::Export(const bool was_force_flush_called)
161161
/* Call the sync Export when force flush was called, even if
162162
is_export_async_ is true.
163163
*/
164-
if (is_export_async_ == false || was_force_flush_called == true)
164+
if (is_export_async_ == false)
165165
{
166166
exporter_->Export(nostd::span<std::unique_ptr<Recordable>>(spans_arr.data(), spans_arr.size()));
167167

0 commit comments

Comments
 (0)