Skip to content

Commit ee78d03

Browse files
committed
Fix parsing
1 parent c2d3510 commit ee78d03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/rollup/job/DateHistogramGroupConfig.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public class DateHistogramGroupConfig implements Writeable, ToXContentObject {
6767
PARSER.declareString(constructorArg(), new ParseField(FIELD));
6868
PARSER.declareField(constructorArg(), p -> new DateHistogramInterval(p.text()), new ParseField(INTERVAL), ValueType.STRING);
6969
PARSER.declareField(optionalConstructorArg(), p -> new DateHistogramInterval(p.text()), new ParseField(DELAY), ValueType.STRING);
70-
PARSER.declareString(constructorArg(), new ParseField(TIME_ZONE));
70+
PARSER.declareString(optionalConstructorArg(), new ParseField(TIME_ZONE));
7171
}
7272

7373
private final String field;

0 commit comments

Comments
 (0)