diff options
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index bd3ff32..bfa26a1 100644 --- a/src/main.rs +++ b/src/main.rs @@ -68,7 +68,7 @@ async fn run() -> anyhow::Result<()> { .nth(1) .ok_or(anyhow!("expected config path as first argument"))?; let config = read_to_string(config).await?; - let config = Arc::<Config>::new(serde_yaml::from_str(&config)?); + let config = Arc::<Config>::new(serde_yml::from_str(&config)?); for i in 0..config.services.len() { tokio::task::spawn(check_loop(config.clone(), i)); |