From 35e0bbe053bf8fe664e70aa2419ed86682bc5c1e Mon Sep 17 00:00:00 2001 From: "jj@jjsweb.site" Date: Wed, 17 Nov 2021 20:07:31 -0600 Subject: [PATCH] Update send-to-jaeger URL output --- scripts/send-trace-to-jaeger/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/send-trace-to-jaeger/src/main.rs b/scripts/send-trace-to-jaeger/src/main.rs index 1e4c038d3a190..d291b2ed24927 100644 --- a/scripts/send-trace-to-jaeger/src/main.rs +++ b/scripts/send-trace-to-jaeger/src/main.rs @@ -64,7 +64,7 @@ fn main() { .into_iter() .map(|mut data| { if !logged_url { - log_web_url(&jaeger_web_ui_url, &data["traceId"].to_string()); + log_web_url(&jaeger_web_ui_url, &data["traceId"].as_str().unwrap()); logged_url = true; } data["localEndpoint"] = Value::Object(local_endpoint.clone());