Skip to content

Commit d460bda

Browse files
ramgdevTommyCpp
andauthored
Update opentelemetry-otlp/src/exporter/http/trace.rs
Co-authored-by: Zhongyang Wu <zhongyang.wu@outlook.com>
1 parent 587c341 commit d460bda

File tree

1 file changed

+1
-1
lines changed
  • opentelemetry-otlp/src/exporter/http

1 file changed

+1
-1
lines changed

opentelemetry-otlp/src/exporter/http/trace.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ fn build_body(spans: Vec<SpanData>) -> TraceResult<(Vec<u8>, &'static str)> {
8282
buf = req.encode_to_vec();
8383
ctype = "application/x-protobuf";
8484
}
85-
#[cfg(all(feature = "http-json", not(feature = "http=proto")))]{
85+
#[cfg(all(feature = "http-json", not(feature = "http-proto")))]{
8686
let json_struct = serde_json::to_string_pretty(&req).unwrap();
8787
buf = json_struct.into();
8888
ctype = "application/json";

0 commit comments

Comments
 (0)