fix reload config of nodes with ids - we should clear known ids set before each reload. (#321)
This commit is contained in:
@@ -48,6 +48,7 @@ class UpstreamsConfigReader(
|
||||
}
|
||||
private fun readInternal(input: MappingNode?): UpstreamsConfig {
|
||||
val config = UpstreamsConfig()
|
||||
knownNodeIds.clear()
|
||||
|
||||
getList<MappingNode>(input, "defaults")?.value?.forEach { opts ->
|
||||
val defaultOptions = ChainOptions.DefaultOptions()
|
||||
|
||||
Reference in New Issue
Block a user