From 810c0d3e75287c15e8baf210f89c807a21d3acee Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Sat, 14 Jun 2025 12:34:22 +0200 Subject: fix(yt/update): Avoid printing all the subscriptions that are not updated This is just too much noise. --- crates/yt/src/update/mod.rs | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'crates') diff --git a/crates/yt/src/update/mod.rs b/crates/yt/src/update/mod.rs index f0b1e2c..25b0e54 100644 --- a/crates/yt/src/update/mod.rs +++ b/crates/yt/src/update/mod.rs @@ -45,17 +45,7 @@ pub async fn update( subscriptions .0 .values() - .filter(|sub| { - if subscription_names_to_update.contains(&sub.name) { - true - } else { - info!( - "Not updating subscription '{}' as it was not specified", - sub.name - ); - false - } - }) + .filter(|sub| subscription_names_to_update.contains(&sub.name)) .collect() }; -- cgit 1.4.1