diff options
| author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-06-14 12:34:22 +0200 |
|---|---|---|
| committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2025-06-14 12:34:22 +0200 |
| commit | 810c0d3e75287c15e8baf210f89c807a21d3acee (patch) | |
| tree | 7ec27e05bf08a05334eccbab982a746cd7268635 | |
| parent | fix(yt/select/selection_file/duration): Improve the duration parser (diff) | |
| download | yt-810c0d3e75287c15e8baf210f89c807a21d3acee.zip | |
fix(yt/update): Avoid printing all the subscriptions that are not updated
This is just too much noise.
| -rw-r--r-- | crates/yt/src/update/mod.rs | 12 |
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() }; |
