diff options
author | metamuffin <metamuffin@disroot.org> | 2024-09-01 22:15:22 +0200 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-09-01 22:15:22 +0200 |
commit | 86c2d75a8f9bd600da03a9a3637eb490eb6fa424 (patch) | |
tree | a42e498ae11bfcbe313232a03b7d688c05349637 /src | |
parent | 4c830ed4e3a143ff95ac3bce15c928fd32a5e426 (diff) | |
download | statuspage-86c2d75a8f9bd600da03a9a3637eb490eb6fa424.tar statuspage-86c2d75a8f9bd600da03a9a3637eb490eb6fa424.tar.bz2 statuspage-86c2d75a8f9bd600da03a9a3637eb490eb6fa424.tar.zst |
replace serde_yaml with serde_yml
Diffstat (limited to 'src')
-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)); |