Browse Source

fix `configuration property "influx.org_id" not found`

pull/111/head
rozetko 2 years ago
parent
commit
d099998562
  1. 2
      server/src/config.rs

2
server/src/config.rs

@ -113,7 +113,7 @@ fn parse_env(key: &str) -> Option<String> {
if key.starts_with(PREFIX) { if key.starts_with(PREFIX) {
let key = &key[PREFIX.len()..]; let key = &key[PREFIX.len()..];
Some(key.to_lowercase().replace("__", ".").replace("_", "-")) Some(key.to_lowercase().replace("__", "."))
} else { } else {
None None
} }

Loading…
Cancel
Save