Internal: fix shard state tranport action names

When we renamed all of the transport actions in #7105, shard started and failed were flipped around by mistake. This commit fixes their naming.

Closes #9440
This commit is contained in:
javanna 2015-01-27 12:25:08 +01:00 committed by Luca Cavanna
parent 285ef0f06d
commit 93bf737f34
1 changed files with 2 additions and 2 deletions

View File

@ -52,8 +52,8 @@ import static org.elasticsearch.cluster.routing.ImmutableShardRouting.readShardR
*/
public class ShardStateAction extends AbstractComponent {
public static final String SHARD_STARTED_ACTION_NAME = "internal:cluster/shard/failure";
public static final String SHARD_FAILED_ACTION_NAME = "internal:cluster/shard/started";
public static final String SHARD_STARTED_ACTION_NAME = "internal:cluster/shard/started";
public static final String SHARD_FAILED_ACTION_NAME = "internal:cluster/shard/failure";
private final TransportService transportService;
private final ClusterService clusterService;