File tree Expand file tree Collapse file tree 1 file changed +0
-7
lines changed
opentelemetry-sdk/src/resource Expand file tree Collapse file tree 1 file changed +0
-7
lines changed Original file line number Diff line number Diff line change @@ -189,24 +189,17 @@ impl Resource {
189189 ///
190190 /// [Schema url]: https://github.com/open-telemetry/opentelemetry-specification/blob/v1.9.0/specification/schemas/overview.md#schema-url
191191 pub fn merge < T : Deref < Target = Self > > ( & self , other : T ) -> Self {
192- println ! ( "here1" ) ;
193192 if self . is_empty ( ) {
194193 return other. clone ( ) ;
195194 }
196- println ! ( "here2" ) ;
197195 if other. is_empty ( ) {
198196 return self . clone ( ) ;
199197 }
200- println ! ( "here3" ) ;
201198 let mut combined_attrs = self . inner . attrs . clone ( ) ;
202199 for ( k, v) in other. inner . attrs . iter ( ) {
203200 combined_attrs. insert ( k. clone ( ) , v. clone ( ) ) ;
204201 }
205202
206- dbg ! ( & self . inner. schema_url) ;
207- dbg ! ( & other. inner. schema_url) ;
208-
209- println ! ( "here4" ) ;
210203 // Resolve the schema URL according to the precedence rules
211204 let combined_schema_url = match ( & self . inner . schema_url , & other. inner . schema_url ) {
212205 // If both resources have a schema URL and it's the same, use it
You can’t perform that action at this time.
0 commit comments