diff options
Diffstat (limited to 'src/modules/hosts.rs')
-rw-r--r-- | src/modules/hosts.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/hosts.rs b/src/modules/hosts.rs index 72d1afd..6bd213a 100644 --- a/src/modules/hosts.rs +++ b/src/modules/hosts.rs @@ -3,7 +3,7 @@ use crate::{config::DynNode, error::ServiceError}; use futures::Future; use hyper::header::HOST; use serde::Deserialize; -use serde_yaml::Value; +use serde_yml::Value; use std::{collections::HashMap, pin::Pin, sync::Arc}; #[derive(Deserialize)] @@ -16,7 +16,7 @@ impl NodeKind for HostsKind { "hosts" } fn instanciate(&self, config: Value) -> anyhow::Result<Arc<dyn Node>> { - Ok(Arc::new(serde_yaml::from_value::<Hosts>(config)?)) + Ok(Arc::new(serde_yml::from_value::<Hosts>(config)?)) } } impl Node for Hosts { |