From 93bf737f3436b34a634c7b7a604095e4cebe57bc Mon Sep 17 00:00:00 2001 From: javanna Date: Tue, 27 Jan 2015 12:25:08 +0100 Subject: [PATCH] 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 --- .../elasticsearch/cluster/action/shard/ShardStateAction.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/elasticsearch/cluster/action/shard/ShardStateAction.java b/src/main/java/org/elasticsearch/cluster/action/shard/ShardStateAction.java index 3d06d9a03cc..e12b88fc8c9 100644 --- a/src/main/java/org/elasticsearch/cluster/action/shard/ShardStateAction.java +++ b/src/main/java/org/elasticsearch/cluster/action/shard/ShardStateAction.java @@ -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;