8000 fix(contrib): fix separator for env variable in badge uservice (#4360) · ovh/cds@9e37f31 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Commit 9e37f31

Browse files
bnjjjyesnault
authored andcommitted
fix(contrib): fix separator for env variable in badge uservice (#4360)
Signed-off-by: Benjamin Coenen <benjamin.coenen@corp.ovh.com>
1 parent 22ac845 commit 9e37f31

File tree

1 file< C175 !-- --> changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/uservices/badge/src/configuration.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ pub fn get_configuration(filename: &str) -> Result<BadgeConfiguration, ConfigErr
7474
let mut settings = Config::default();
7575
settings
7676
.merge(File::with_name(filename))?
77-
.merge(Environment::with_prefix("CDS"))?;
77+
.merge(Environment::with_prefix("CDS").separator("_"))?;
7878

7979
let conf: Configuration = settings.try_into()?;
8080
Ok(conf.badge)

0 commit comments

Comments
 (0)
0