aboutsummaryrefslogtreecommitdiff
path: root/src/modules/headers.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/headers.rs')
-rw-r--r--src/modules/headers.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/headers.rs b/src/modules/headers.rs
index ad4595a..52686eb 100644
--- a/src/modules/headers.rs
+++ b/src/modules/headers.rs
@@ -21,8 +21,8 @@ impl NodeKind for HeadersKind {
fn name(&self) -> &'static str {
"headers"
}
- fn instanciate(&self, config: serde_yaml::Value) -> Result<Arc<dyn Node>> {
- Ok(Arc::new(serde_yaml::from_value::<Headers>(config)?))
+ fn instanciate(&self, config: serde_yml::Value) -> Result<Arc<dyn Node>> {
+ Ok(Arc::new(serde_yml::from_value::<Headers>(config)?))
}
}