mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-17 18:35:25 +00:00
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…
x
Reference in New Issue
Block a user