about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-06-14 12:34:22 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-06-14 12:34:22 +0200
commit810c0d3e75287c15e8baf210f89c807a21d3acee (patch)
tree7ec27e05bf08a05334eccbab982a746cd7268635
parentfix(yt/select/selection_file/duration): Improve the duration parser (diff)
downloadyt-810c0d3e75287c15e8baf210f89c807a21d3acee.zip
fix(yt/update): Avoid printing all the subscriptions that are not updated
This is just too much noise.
Diffstat (limited to '')
-rw-r--r--crates/yt/src/update/mod.rs12
1 files changed, 1 insertions, 11 deletions
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()
     };