add logs for auto detecting labels

This commit is contained in:
Termina1
2023-07-14 14:15:08 +03:00
parent 6c49e19a2b
commit fb91effd26

View File

@@ -72,6 +72,7 @@ open class EthereumLikeRpcUpstream(
labelsDetector.detectLabels()
.toStream()
.forEach {
log.info("Detected label ${it.first} with value ${it.second} for upstream ${getId()}")
node?.labels?.let { labels ->
labels[it.first] = it.second
}