Skip to content

Commit 8f9c6d9

Browse files
committed
Remove v0.7 trace encoding
1 parent f6aae6b commit 8f9c6d9

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

trace-utils/src/tracer_payload.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,6 @@ pub enum TraceEncoding {
1919
V04,
2020
/// v054 encoding (TracerPayloadV04).
2121
V05,
22-
/// v0.7 encoding (TracerPayload).
23-
V07,
2422
}
2523

2624
#[derive(Debug, Clone)]
@@ -228,11 +226,6 @@ pub fn decode_to_trace_chunks(
228226
let (data, size) = match encoding_type {
229227
TraceEncoding::V04 => msgpack_decoder::v04::from_bytes(data),
230228
TraceEncoding::V05 => msgpack_decoder::v05::from_bytes(data),
231-
// TODO: Properly handle non-OK states to prevent possible panics (APMSP-18190).
232-
#[allow(clippy::unimplemented)]
233-
_ => unimplemented!(
234-
"Encodings other than TraceEncoding::V04 and TraceEncoding::V05 not implemented yet."
235-
),
236229
}
237230
.map_err(|e| anyhow::format_err!("Error deserializing trace from request body: {e}"))?;
238231

0 commit comments

Comments
 (0)