File tree Expand file tree Collapse file tree 1 file changed +3
-6
lines changed
opentelemetry-otlp/src/exporter/tonic Expand file tree Collapse file tree 1 file changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -6,7 +6,6 @@ use opentelemetry_proto::tonic::collector::logs::v1::{
6
6
} ;
7
7
use opentelemetry_sdk:: error:: { OTelSdkError , OTelSdkResult } ;
8
8
use opentelemetry_sdk:: logs:: { LogBatch , LogExporter } ;
9
- use std:: time;
10
9
use tokio:: sync:: Mutex ;
11
10
use tonic:: { codegen:: CompressionEncoding , service:: Interceptor , transport:: Channel , Request } ;
12
11
@@ -118,11 +117,9 @@ impl LogExporter for TonicLogsClient {
118
117
. await
119
118
}
120
119
121
- fn shutdown ( & mut self ) -> OTelSdkResult {
122
- match self . inner . take ( ) {
123
- Some ( _) => Ok ( ( ) ) , // Successfully took `inner`, indicating a successful shutdown.
124
- None => Err ( OTelSdkError :: AlreadyShutdown ) , // `inner` was already `None`, meaning it's already shut down.
125
- }
120
+ fn shutdown ( & self ) -> OTelSdkResult {
121
+ // TODO: We broke this rebasing. fix it!
122
+ Ok ( ( ) )
126
123
}
127
124
128
125
fn set_resource ( & mut self , resource : & opentelemetry_sdk:: Resource ) {
You can’t perform that action at this time.
0 commit comments