Skip to content

Commit

Permalink
Refactored doc level monitor metadata creation to accommodate cross c…
Browse files Browse the repository at this point in the history
…luster monitors.

Signed-off-by: AWSHurneyt <[email protected]>
  • Loading branch information
AWSHurneyt committed Sep 12, 2023
1 parent 580abad commit 435cf01
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ object MonitorMetadataService :
if (index == null) return mutableMapOf()
val getIndexRequest = GetIndexRequest().indices(index)
val getIndexResponse: GetIndexResponse = getClient(index).suspendUntil {
client.admin().indices().getIndex(getIndexRequest, it)
getClient(index).admin().indices().getIndex(getIndexRequest, it)
}
val indices = getIndexResponse.indices()

Expand Down

0 comments on commit 435cf01

Please sign in to comment.