Skip to content

Commit 67f11fd

Browse files
authored
Merge 3b0e1c2 into f43d2b4
2 parents f43d2b4 + 3b0e1c2 commit 67f11fd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ydb/core/viewer/json_describe_consumer.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,12 @@ class TJsonDescribeConsumer : public TDescribeConsumerRpc {
3939
return ReplyAndPassAway(Viewer->GetHTTPBADREQUEST(Event->Get(), "text/plain", "field 'consumer' is required"));
4040
}
4141

42+
if (params.Has("path")) {
43+
Request.set_path(params.Get("path"));
44+
} else {
45+
return ReplyAndPassAway(Viewer->GetHTTPBADREQUEST(Event->Get(), "text/plain", "field 'path' is required"));
46+
}
47+
4248
if (params.Has("include_stats")) {
4349
Request.set_include_stats(FromStringWithDefault<bool>(params.Get("include_stats"), false));
4450
}

0 commit comments

Comments
 (0)