config: Fix static mapping property names (reported by @DoM1niC). (#230)
This commit is contained in:
parent
2586d8b2da
commit
924f40c4e0
@ -86,7 +86,7 @@ class HarvestConfig {
|
|||||||
private val staticMappingsFromNewConfig: Set<StaticMapping> by config {
|
private val staticMappingsFromNewConfig: Set<StaticMapping> by config {
|
||||||
"ice4j.harvest.mapping.static-mappings".from(configSource)
|
"ice4j.harvest.mapping.static-mappings".from(configSource)
|
||||||
.convertFrom<List<Config>> { cfg ->
|
.convertFrom<List<Config>> { cfg ->
|
||||||
cfg.map { StaticMapping(it.getString("localAddress"), it.getString("publicAddress")) }.toSet()
|
cfg.map { StaticMapping(it.getString("local-address"), it.getString("public-address")) }.toSet()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user