summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2021-03-25 13:33:26 +0100
committerSanto Cariotti <santo@dcariotti.me>2021-03-25 13:33:26 +0100
commit729fc25cf6ecf1123401a314151b25cfa3225659 (patch)
treece149df05a1fbc07c851c2fafaf28d3ee15422de
parent70a6cbb1870c9b0e7bca267e1fd00116f5077c71 (diff)
chore: use different env separator
-rw-r--r--src/config.rs2
1 files changed, 1 insertions, 1 deletions
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<Self, ConfigError> {
let mut cfg = config::Config::new();
- cfg.merge(config::Environment::new())?;
+ cfg.merge(config::Environment::new().separator("__"))?;
cfg.try_into()
}