Skip to content

Commit

Permalink
Troubleshooting.
Browse files Browse the repository at this point in the history
Signed-off-by: AWSHurneyt <[email protected]>
  • Loading branch information
AWSHurneyt committed Oct 4, 2023
1 parent 3535040 commit 0aab4b3
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,7 @@ class GetRemoteIndexesResponse : ActionResponse, ToXContentObject {
.field(INDEX_LATENCY_FIELD, latency)
.startObject(INDEXES_FIELD)
indexes.forEach {
builder.startObject(it.indexName)
it.toXContent(builder, params)
builder.endObject()
builder.field(it.indexName, it.toXContent(builder, params))
}
return builder.endObject().endObject()
}
Expand Down

0 comments on commit 0aab4b3

Please sign in to comment.