File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
rust/otap-dataflow/crates/pdata/src/proto Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -91,7 +91,6 @@ pub mod opentelemetry {
9191/// objects are required. OtlpProtoBytes has an efficient translation
9292/// into OtapArrowRecords, this type does not.
9393///
94- ///
9594/// Note this could be considered for #[cfg(test)], however we are
9695/// aware of uses in otap-df-otap's fake_signal_generator and
9796/// debug_processor.
@@ -259,7 +258,8 @@ impl From<opentelemetry::trace::v1::TracesData> for OtlpProtoMessage {
259258 }
260259}
261260
262- //#[cfg(test)]
261+ // This would be #[cfg(test)] because it's an expensive operation we
262+ // never expect in production, except we can't because ... (not sure)
263263impl TryFrom < crate :: otlp:: OtlpProtoBytes > for OtlpProtoMessage {
264264 type Error = prost:: DecodeError ;
265265
You can’t perform that action at this time.
0 commit comments