File tree Expand file tree Collapse file tree 3 files changed +9
-11
lines changed
crates/stackable-telemetry/src/tracing Expand file tree Collapse file tree 3 files changed +9
-11
lines changed Original file line number Diff line number Diff line change @@ -154,8 +154,7 @@ impl Tracing {
154154
155155 if self . console_log_settings . enabled ( ) {
156156 let env_filter_layer = env_filter_builder (
157- & self
158- . console_log_settings
157+ self . console_log_settings
159158 . common_settings
160159 . environment_variable ,
161160 self . console_log_settings . default_level ( ) ,
@@ -167,7 +166,7 @@ impl Tracing {
167166
168167 if self . otlp_log_settings . enabled ( ) {
169168 let env_filter_layer = env_filter_builder (
170- & self . otlp_log_settings . environment_variable ( ) ,
169+ self . otlp_log_settings . environment_variable ( ) ,
171170 self . otlp_log_settings . default_level ( ) ,
172171 )
173172 // TODO (@NickLarsenNZ): Remove this directive once https://github.com/open-telemetry/opentelemetry-rust/issues/761 is resolved
@@ -195,8 +194,7 @@ impl Tracing {
195194
196195 if self . otlp_trace_settings . enabled ( ) {
197196 let env_filter_layer = env_filter_builder (
198- & self
199- . otlp_trace_settings
197+ self . otlp_trace_settings
200198 . common_settings
201199 . environment_variable ,
202200 self . otlp_trace_settings . default_level ( ) ,
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ impl Build<OtlpLogSettings> for SettingsBuilder {
3737 fn build ( self ) -> OtlpLogSettings {
3838 OtlpLogSettings {
3939 common_settings : self . into ( ) ,
40- ..Default :: default ( )
40+ // ..Default::default()
4141 }
4242 }
4343}
@@ -60,7 +60,7 @@ impl From<SettingsDouble> for OtlpLogSettings {
6060 fn from ( value : SettingsDouble ) -> Self {
6161 Self {
6262 common_settings : value. into ( ) ,
63- ..Default :: default ( )
63+ // ..Default::default()
6464 }
6565 }
6666}
@@ -69,7 +69,7 @@ impl From<SettingsTriple> for OtlpLogSettings {
6969 fn from ( value : SettingsTriple ) -> Self {
7070 Self {
7171 common_settings : value. into ( ) ,
72- ..Default :: default ( )
72+ // ..Default::default()
7373 }
7474 }
7575}
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ impl Build<OtlpTraceSettings> for SettingsBuilder {
3737 fn build ( self ) -> OtlpTraceSettings {
3838 OtlpTraceSettings {
3939 common_settings : self . into ( ) ,
40- ..Default :: default ( )
40+ // ..Default::default()
4141 }
4242 }
4343}
@@ -60,7 +60,7 @@ impl From<SettingsDouble> for OtlpTraceSettings {
6060 fn from ( value : SettingsDouble ) -> Self {
6161 Self {
6262 common_settings : value. into ( ) ,
63- ..Default :: default ( )
63+ // ..Default::default()
6464 }
6565 }
6666}
@@ -69,7 +69,7 @@ impl From<SettingsTriple> for OtlpTraceSettings {
6969 fn from ( value : SettingsTriple ) -> Self {
7070 Self {
7171 common_settings : value. into ( ) ,
72- ..Default :: default ( )
72+ // ..Default::default()
7373 }
7474 }
7575}
You can’t perform that action at this time.
0 commit comments