Skip to content

Commit

Permalink
fix(contrib): fix separator for env variable in badge uservice
Browse files Browse the repository at this point in the history
Signed-off-by: Benjamin Coenen <benjamin.coenen@corp.ovh.com>
  • Loading branch information
bnjjj committed Jun 6, 2019
1 parent 22ac845 commit a5a76fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/uservices/badge/src/configuration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ pub fn get_configuration(filename: &str) -> Result<BadgeConfiguration, ConfigErr
let mut settings = Config::default();
settings
.merge(File::with_name(filename))?
.merge(Environment::with_prefix("CDS"))?;
.merge(Environment::with_prefix("CDS").separator("_"))?;

let conf: Configuration = settings.try_into()?;
Ok(conf.badge)
Expand Down

0 comments on commit a5a76fb

Please sign in to comment.