Minify mapping
This commit is contained in:
parent
1e06b90eea
commit
e5fa71d1e7
1 changed files with 5 additions and 7 deletions
|
@ -128,13 +128,11 @@ impl Configuration {
|
||||||
|
|
||||||
v.into_iter()
|
v.into_iter()
|
||||||
.map(|s| { debug!("Trying to process '{}'", s); s })
|
.map(|s| { debug!("Trying to process '{}'", s); s })
|
||||||
.filter_map(|s| {
|
.filter_map(|s| match s.into_kv() {
|
||||||
match s.into_kv() {
|
Some(kv) => Some(kv.into()),
|
||||||
Some(kv) => Some(kv.into()),
|
None => {
|
||||||
None => {
|
warn!("Could split at '=' - will be ignore override");
|
||||||
warn!("Could split at '=' - will be ignore override");
|
None
|
||||||
None
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
.map(|(k, v)| {
|
.map(|(k, v)| {
|
||||||
|
|
Loading…
Reference in a new issue