Skip to content

Commit 0ac3f37

Browse files
remove extra implementation of shutdown method
1 parent e07da46 commit 0ac3f37

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,6 @@ impl LogExporter for OtlpHttpClient {
5959
Ok(())
6060
}
6161

62-
fn shutdown(&self) -> OTelSdkResult {
63-
self.shutdown_with_timeout(time::Duration::from_secs(5))
64-
}
65-
6662
fn set_resource(&mut self, resource: &opentelemetry_sdk::Resource) {
6763
self.resource = resource.into();
6864
}

opentelemetry-sdk/src/logs/simple_log_processor.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -464,10 +464,6 @@ mod tests {
464464
}
465465

466466
impl LogExporter for ReentrantLogExporter {
467-
fn shutdown_with_timeout(&self, _timeout: time::Duration) -> OTelSdkResult {
468-
Ok(())
469-
}
470-
471467
async fn export(&self, _batch: LogBatch<'_>) -> OTelSdkResult {
472468
let logger = self.logger.lock().unwrap();
473469
if let Some(logger) = logger.as_ref() {

0 commit comments

Comments
 (0)