mirror of
https://github.com/katanemo/plano.git
synced 2026-05-15 11:02:39 +02:00
upgrade rust to 1.93.0 and fix pre-commit (#720)
This commit is contained in:
parent
28a4242c6e
commit
e41aa0a617
5 changed files with 29 additions and 35 deletions
|
|
@ -216,12 +216,12 @@ impl HttpContext for StreamContext {
|
|||
("x-envoy-upstream-rq-timeout-ms", timeout_str.as_str()),
|
||||
];
|
||||
|
||||
if self.request_id.is_some() {
|
||||
headers.push((REQUEST_ID_HEADER, self.request_id.as_ref().unwrap()));
|
||||
if let Some(request_id) = &self.request_id {
|
||||
headers.push((REQUEST_ID_HEADER, request_id));
|
||||
}
|
||||
|
||||
if self.traceparent.is_some() {
|
||||
headers.push((TRACE_PARENT_HEADER, self.traceparent.as_ref().unwrap()));
|
||||
if let Some(traceparent) = &self.traceparent {
|
||||
headers.push((TRACE_PARENT_HEADER, traceparent));
|
||||
}
|
||||
|
||||
let call_args = CallArgs::new(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue