Skip to content

Commit 1fe1f35

Browse files
remove unused cloning
1 parent e9a56d0 commit 1fe1f35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/otel/traces.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ pub fn flatten_otel_traces(message: &TracesData) -> Vec<Value> {
130130
}
131131
}
132132
// Add the `other_attributes` to the resource span json
133-
merge_attributes_in_json(other_attributes.clone(), &mut vec_resource_spans_json);
133+
merge_attributes_in_json(other_attributes, &mut vec_resource_spans_json);
134134
vec_otel_json.extend(vec_resource_spans_json);
135135
}
136136

0 commit comments

Comments
 (0)