File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -447,7 +447,7 @@ async fn query_prometheus_for_metrics(
447
447
"{}/api/datasources/proxy/{}/api/v1/query?query={}" ,
448
448
config. telemetry_url,
449
449
config. prometheus_datasource_id,
450
- urlencoding:: encode( & prom_query)
450
+ urlencoding:: encode( prom_query)
451
451
) ;
452
452
453
453
println ! ( "Prometheus query URL: {prometheus_query_url}" ) ;
@@ -545,7 +545,7 @@ async fn test_error_endpoint_generates_error_trace() -> TestResult<()> {
545
545
. duration_since ( std:: time:: UNIX_EPOCH )
546
546
. unwrap ( )
547
547
. as_millis ( ) ;
548
- let test_endpoint = format ! ( "/books/test-{}" , timestamp ) ;
548
+ let test_endpoint = format ! ( "/books/test-{timestamp}" ) ;
549
549
let error_injection_config = serde_json:: json!( {
550
550
"endpoint_pattern" : test_endpoint. clone( ) ,
551
551
"http_method" : "GET" ,
You can’t perform that action at this time.
0 commit comments