Skip to content

Commit 8ed7075

Browse files
committed
chore: remove debug prints
1 parent 65a1f19 commit 8ed7075

File tree

1 file changed

+0
-7
lines changed
  • opentelemetry-sdk/src/resource

1 file changed

+0
-7
lines changed

opentelemetry-sdk/src/resource/mod.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)