From 099e2d405697f924e109d250f05950b2684c66c7 Mon Sep 17 00:00:00 2001 From: Nga Tran Date: Thu, 9 Dec 2021 13:52:42 -0500 Subject: [PATCH] chore: Apply suggestions from code review Co-authored-by: Marco Neumann --- influxdb_iox/tests/end_to_end_cases/management_api.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/influxdb_iox/tests/end_to_end_cases/management_api.rs b/influxdb_iox/tests/end_to_end_cases/management_api.rs index 86ef3323d6..35a320e3cb 100644 --- a/influxdb_iox/tests/end_to_end_cases/management_api.rs +++ b/influxdb_iox/tests/end_to_end_cases/management_api.rs @@ -1992,7 +1992,7 @@ async fn test_compact_os_partition() { let partition_key = &chunks[0].partition_key; management_client - .persist_partition(&db_name, "cpu", &partition_key[..], true) + .persist_partition(&db_name, "cpu", partition_key.as_ref(), true) .await .unwrap();