problem: using "upstreams" on two levels of config is confusing

This commit is contained in:
Igor Artamonov
2020-03-23 23:41:32 -04:00
parent 014461520e
commit 695b38f702
6 changed files with 6 additions and 6 deletions

View File

@@ -38,7 +38,7 @@ class UpstreamsConfigReader(
}
override fun read(input: MappingNode?): UpstreamsConfig? {
return getMapping(input, "upstreams")?.let {
return getMapping(input, "cluster")?.let {
readInternal(it)
}
}