Skip to content

Commit

Permalink
Add both hasDiscoveredMaster and hasDisvoveredClusterManager into acc…
Browse files Browse the repository at this point in the history
…ount to initialize ClusterStateHealth in ClusterHealthResponse

Signed-off-by: Tianli Feng <ftianli@amazon.com>
  • Loading branch information
Tianli Feng committed May 24, 2022
1 parent 6522489 commit 179cd0f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public class ClusterHealthResponse extends ActionResponse implements StatusToXCo
unassignedShards,
numberOfNodes,
numberOfDataNodes,
hasDiscoveredClusterManager,
hasDiscoveredClusterManager || hasDiscoveredMaster,
activeShardsPercent,
status,
indices
Expand Down

0 comments on commit 179cd0f

Please sign in to comment.