Skip to content

Commit b2ea93c

Browse files
authored
[24-3] Fix double PassAway call in Healthcheck actor (#11104)
1 parent bd34cc7 commit b2ea93c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ydb/core/viewer/viewer_healthcheck.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -196,8 +196,7 @@ class TJsonHealthCheck : public TViewerPipeClient {
196196
return TBase::ReplyAndPassAway(GetHTTPINTERNALERROR("text/plain", "No result"));
197197
} else {
198198
if (Format == HealthCheckResponseFormat::PROMETHEUS) {
199-
HandlePrometheus();
200-
return PassAway();
199+
return HandlePrometheus();
201200
} else {
202201
TStringStream json;
203202
TProtoToJson::ProtoToJson(json, *Result, JsonSettings);

0 commit comments

Comments
 (0)