Use underscore notation for field names
Relates elastic/elasticsearchelastic/elasticsearch#17800 Original commit: elastic/x-pack-elasticsearch@1f6022116c
This commit is contained in:
parent
f5035d3f1e
commit
fb825d7fd3
|
@ -158,7 +158,7 @@ public class PagerDutyActionTests extends ESTestCase {
|
|||
TextTemplate eventType = null;
|
||||
if (randomBoolean()) {
|
||||
eventType = TextTemplate.inline(randomFrom("trigger", "resolve", "acknowledge")).build();
|
||||
builder.field("eventType", eventType);
|
||||
builder.field("event_type", eventType);
|
||||
}
|
||||
|
||||
Boolean attachPayload = randomBoolean() ? null : randomBoolean();
|
||||
|
|
Loading…
Reference in New Issue