rename actions back to admin/* and add suffix [s] instead
This commit is contained in:
parent
edac404f22
commit
d386d909fc
|
@ -44,7 +44,7 @@ import org.elasticsearch.transport.TransportService;
|
|||
*/
|
||||
public class TransportShardFlushAction extends TransportReplicationAction<ShardFlushRequest, ShardFlushRequest, ActionWriteResponse> {
|
||||
|
||||
public static final String NAME = "indices:data/write/flush";
|
||||
public static final String NAME = FlushAction.NAME + "[s]";
|
||||
|
||||
@Inject
|
||||
public TransportShardFlushAction(Settings settings, TransportService transportService, ClusterService clusterService,
|
||||
|
|
|
@ -45,7 +45,7 @@ import org.elasticsearch.transport.TransportService;
|
|||
*/
|
||||
public class TransportShardRefreshAction extends TransportReplicationAction<ReplicationRequest, ReplicationRequest, ActionWriteResponse> {
|
||||
|
||||
public static final String NAME = "indices:data/write/refresh";
|
||||
public static final String NAME = RefreshAction.NAME + "[s]";
|
||||
|
||||
@Inject
|
||||
public TransportShardRefreshAction(Settings settings, TransportService transportService, ClusterService clusterService,
|
||||
|
|
Loading…
Reference in New Issue