feat: validate configuration

This commit is contained in:
Marc Plano-Lesay 2025-05-21 22:02:42 +10:00
parent ee7d7971be
commit 48c670f455
Signed by: kernald
GPG key ID: 66A41B08CC62A6CF
33 changed files with 1076 additions and 165 deletions

View file

@ -81,7 +81,7 @@ mod tests {
use async_trait::async_trait;
use chrono::NaiveDateTime;
use color_eyre::eyre::{eyre, Result};
use std::collections::HashMap;
use std::collections::BTreeMap;
use std::sync::atomic::{AtomicBool, Ordering};
use tempfile::tempdir;
@ -198,7 +198,7 @@ mod tests {
bitmagnet: None,
transmission: None,
ntfy: None,
sources: HashMap::new(),
sources: BTreeMap::new(),
};
let result = action_service.init_actions(&config);