From 729fc25cf6ecf1123401a314151b25cfa3225659 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Thu, 25 Mar 2021 13:33:26 +0100 Subject: chore: use different env separator --- src/config.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/config.rs b/src/config.rs index e6cd0bd..aacfe06 100644 --- a/src/config.rs +++ b/src/config.rs @@ -20,7 +20,7 @@ pub struct Config { impl Config { pub fn from_env() -> Result { let mut cfg = config::Config::new(); - cfg.merge(config::Environment::new())?; + cfg.merge(config::Environment::new().separator("__"))?; cfg.try_into() } -- cgit v1.2.3-18-g5258