mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-19 19:35:02 +00:00
Add line feed for prettified main REST action
This commit is contained in:
parent
8e54319a1d
commit
c20d4bb69e
@ -76,7 +76,7 @@ public class RestMainAction extends BaseRestHandler {
|
||||
|
||||
// Default to pretty printing, but allow ?pretty=false to disable
|
||||
if (!request.hasParam("pretty")) {
|
||||
builder.prettyPrint();
|
||||
builder.prettyPrint().lfAtEnd();
|
||||
}
|
||||
|
||||
builder.startObject();
|
||||
|
Loading…
x
Reference in New Issue
Block a user