fixed code style
This commit is contained in:
@@ -123,6 +123,7 @@ class SubscribeNodeStatus(
|
|||||||
.map {
|
.map {
|
||||||
if (it == UpstreamAvailability.UNAVAILABLE) {
|
if (it == UpstreamAvailability.UNAVAILABLE) {
|
||||||
onUnavailable.accept(upstream.getId())
|
onUnavailable.accept(upstream.getId())
|
||||||
|
// cancel head subscription & reconnections when upstream becomes unavailable
|
||||||
cancel.tryEmitNext(true)
|
cancel.tryEmitNext(true)
|
||||||
}
|
}
|
||||||
NodeStatusResponse.newBuilder()
|
NodeStatusResponse.newBuilder()
|
||||||
|
|||||||
Reference in New Issue
Block a user