Skip to content

Commit 6fe4546

Browse files
committed
clean up after rebase
1 parent 3b29f8e commit 6fe4546

File tree

1 file changed

+2
-1
lines changed
  • opentelemetry-otlp/src/exporter/tonic

1 file changed

+2
-1
lines changed

opentelemetry-otlp/src/exporter/tonic/logs.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ use opentelemetry_proto::tonic::collector::logs::v1::{
66
};
77
use opentelemetry_sdk::error::{OTelSdkError, OTelSdkResult};
88
use opentelemetry_sdk::logs::{LogBatch, LogExporter};
9+
use std::time;
910
use tokio::sync::Mutex;
1011
use tonic::{codegen::CompressionEncoding, service::Interceptor, transport::Channel, Request};
1112

@@ -117,7 +118,7 @@ impl LogExporter for TonicLogsClient {
117118
.await
118119
}
119120

120-
fn shutdown(&self) -> OTelSdkResult {
121+
fn shutdown_with_timeout(&self, _timeout: time::Duration) -> OTelSdkResult {
121122
// TODO: Implement actual shutdown
122123
// Due to the use of tokio::sync::Mutex to guard
123124
// the inner client, we need to await the call to lock the mutex

0 commit comments

Comments
 (0)