diff --git a/modules/elasticsearch/src/main/java/org/elasticsearch/action/admin/indices/gateway/snapshot/TransportGatewaySnapshotAction.java b/modules/elasticsearch/src/main/java/org/elasticsearch/action/admin/indices/gateway/snapshot/TransportGatewaySnapshotAction.java index 6011a76254e..20235e43662 100644 --- a/modules/elasticsearch/src/main/java/org/elasticsearch/action/admin/indices/gateway/snapshot/TransportGatewaySnapshotAction.java +++ b/modules/elasticsearch/src/main/java/org/elasticsearch/action/admin/indices/gateway/snapshot/TransportGatewaySnapshotAction.java @@ -107,7 +107,7 @@ public class TransportGatewaySnapshotAction extends TransportBroadcastOperationA } /** - * The refresh request works against *all* shards. + * The snapshot request works against all primary shards. */ @Override protected GroupShardsIterator shards(GatewaySnapshotRequest request, ClusterState clusterState) { return clusterState.routingTable().primaryShardsGrouped(request.indices());