Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add IndicesMetrics instead of IndicesService to toClose (elastic#114782)
The same line already exists in [L543](https://github.com/ywangd/elasticsearch/blob/9f4a7927bdc366f8ca98c4652ac7d1102d9430f5/server/src/main/java/org/elasticsearch/node/Node.java#L543). It should have no practial impact since AbstractLifecycleComponent#close short-circuits if its lifecycle is already closed. The original code meant to close IndicesMetrics. This PR adds it. Relates: elastic#113737
- Loading branch information