Skip to content

Commit f1aab5d

Browse files
committed
Added super simple test
1 parent fd08751 commit f1aab5d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

x-pack/plugin/esql/src/main/java/org/elasticsearch/xpack/esql/plugin/EsqlListQueriesResponse.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,13 @@ public void writeTo(StreamOutput out) throws IOException {
5151

5252
@Override
5353
public XContentBuilder toXContent(XContentBuilder builder, Params params) throws IOException {
54+
builder.startObject();
5455
builder.startObject("queries");
5556
// for (Query query : queries) {
5657
// query.toXContent(builder, params);
5758
// }
5859
builder.endObject();
60+
builder.endObject();
5961
return builder;
6062
}
6163
}

0 commit comments

Comments
 (0)