Skip to content

Commit

Permalink
Use local clusterState call during healthchecks
Browse files Browse the repository at this point in the history
Signed-off-by: Harsh Garg <[email protected]>
  • Loading branch information
Harsh Garg committed Sep 13, 2024
1 parent 42317f1 commit 637692f
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export const getNodeId = async (
*/
const state = (await internalClient.cluster.state({
metric: 'nodes',
local: true,
filter_path: [path],
})) as ApiResponse;

Expand Down

0 comments on commit 637692f

Please sign in to comment.