From 975a5307fadacfe8490027b0ecbebf69c475e6e6 Mon Sep 17 00:00:00 2001 From: Manuel Holtgrewe Date: Fri, 1 Mar 2024 13:54:02 +0100 Subject: [PATCH] wip --- src/db_utils/cli/copy.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/db_utils/cli/copy.rs b/src/db_utils/cli/copy.rs index db8d21eb..9fa255b6 100644 --- a/src/db_utils/cli/copy.rs +++ b/src/db_utils/cli/copy.rs @@ -198,8 +198,8 @@ pub fn run(common: &common::cli::Args, args: &Args) -> Result<(), anyhow::Error> // Perform the main work of copying over data. tracing::info!("Copying data"); - for cf_name in cf_names { - if args.skip_cfs.contains(&cf_name) { + for cf_name in &cf_names { + if args.skip_cfs.contains(cf_name) { tracing::info!(" skipping column family contents {}", cf_name); continue; }