浏览代码

Fix grammar in shards availability health indicator diagnosis

Philipp Kahr 4 月之前
父节点
当前提交
1ee79ef5e2

+ 1 - 1
server/src/main/java/org/elasticsearch/cluster/routing/allocation/shards/ShardsAvailabilityHealthIndicatorService.java

@@ -254,7 +254,7 @@ public class ShardsAvailabilityHealthIndicatorService implements HealthIndicator
         NAME,
         NAME,
         "initializing_shards",
         "initializing_shards",
         "Elasticsearch is currently initializing the unavailable shards. Please wait for the initialization to finish.",
         "Elasticsearch is currently initializing the unavailable shards. Please wait for the initialization to finish.",
-        "The shards will become available as long as the initialization completes. No action is required by the user, you can"
+        "The shards will become available when the initialization completes. No action is required by the user, you can"
             + " monitor the progress of the initializing shards at "
             + " monitor the progress of the initializing shards at "
             + WAIT_FOR_INITIALIZATION_GUIDE
             + WAIT_FOR_INITIALIZATION_GUIDE
             + ".",
             + ".",