mirror of
https://github.com/lldap/lldap.git
synced 2024-11-25 09:06:03 +00:00
server: Fix env variable warning
This commit is contained in:
parent
62b2afa283
commit
f01daae6a8
1 changed files with 2 additions and 2 deletions
|
@ -583,10 +583,10 @@ where
|
|||
let expected_keys = expected_keys(&figment_config.data()?[&Profile::Default]);
|
||||
env_variable_provider().data().unwrap()[&Profile::default()]
|
||||
.keys()
|
||||
.map(|k| k.to_ascii_uppercase())
|
||||
.map(|k| format!("LLDAP_{}", k.to_ascii_uppercase()))
|
||||
.filter(|k| !expected_keys.contains(k.as_str()))
|
||||
.for_each(|k| {
|
||||
eprintln!("WARNING: Unknown environment variable: LLDAP_{}", k);
|
||||
eprintln!("WARNING: Unknown environment variable: {}", k);
|
||||
});
|
||||
}
|
||||
config.server_setup = Some(get_server_setup(
|
||||
|
|
Loading…
Reference in a new issue