Skip to content

Commit e4874a9

Browse files
remove redundate trait implementation
1 parent 29a41ae commit e4874a9

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

opentelemetry-sdk/src/logs/log_processor_with_async_runtime.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,6 @@ mod tests {
309309
use opentelemetry::KeyValue;
310310
use opentelemetry::{InstrumentationScope, Key};
311311
use std::sync::{Arc, Mutex};
312-
use std::time;
313312
use std::time::Duration;
314313

315314
#[derive(Debug, Clone)]
@@ -322,14 +321,6 @@ mod tests {
322321
Ok(())
323322
}
324323

325-
fn shutdown_with_timeout(&self, _timeout: time::Duration) -> OTelSdkResult {
326-
Ok(())
327-
}
328-
329-
fn shutdown(&self) -> OTelSdkResult {
330-
self.shutdown_with_timeout(time::Duration::from_secs(5))
331-
}
332-
333324
fn set_resource(&mut self, resource: &Resource) {
334325
self.resource
335326
.lock()

0 commit comments

Comments
 (0)