Skip to content

Commit fe0aa65

Browse files
committed
clippy
1 parent a9f5c51 commit fe0aa65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/src/telemetry_test.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -447,7 +447,7 @@ async fn query_prometheus_for_metrics(
447447
"{}/api/datasources/proxy/{}/api/v1/query?query={}",
448448
config.telemetry_url,
449449
config.prometheus_datasource_id,
450-
urlencoding::encode(&prom_query)
450+
urlencoding::encode(prom_query)
451451
);
452452

453453
println!("Prometheus query URL: {prometheus_query_url}");
@@ -545,7 +545,7 @@ async fn test_error_endpoint_generates_error_trace() -> TestResult<()> {
545545
.duration_since(std::time::UNIX_EPOCH)
546546
.unwrap()
547547
.as_millis();
548-
let test_endpoint = format!("/books/test-{}", timestamp);
548+
let test_endpoint = format!("/books/test-{timestamp}");
549549
let error_injection_config = serde_json::json!({
550550
"endpoint_pattern": test_endpoint.clone(),
551551
"http_method": "GET",

0 commit comments

Comments
 (0)