Skip to content

Commit 342373e

Browse files
committed
Fix action test
1 parent 8a17036 commit 342373e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

x-pack/plugin/otel-data/src/main/java/org/elasticsearch/xpack/oteldata/otlp/OTLPMetricsTransportAction.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public class OTLPMetricsTransportAction extends HandledTransportAction<
4242
OTLPMetricsTransportAction.MetricsRequest,
4343
OTLPMetricsTransportAction.MetricsResponse> {
4444

45-
public static final String NAME = "indices:data/write/metrics";
45+
public static final String NAME = "indices:data/write/otlp/metrics";
4646
public static final ActionType<MetricsResponse> TYPE = new ActionType<>(NAME);
4747

4848
private static final Logger logger = LogManager.getLogger(OTLPMetricsTransportAction.class);

x-pack/plugin/security/qa/operator-privileges-tests/src/javaRestTest/java/org/elasticsearch/xpack/security/operator/Constants.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -609,6 +609,7 @@ public class Constants {
609609
"indices:data/write/delete",
610610
"indices:data/write/delete/byquery",
611611
"indices:data/write/index",
612+
"indices:data/write/otlp/metrics",
612613
"indices:data/write/reindex",
613614
"indices:data/write/update",
614615
"indices:data/write/update/byquery",

0 commit comments

Comments
 (0)