mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-25 22:36:20 +00:00
[Test] Fix InternalStatsTests
After recent changes in InternalStats#doXContentBody the corresponding xContent output of the parsed aggregation needed to be changed in a similar way.
This commit is contained in:
parent
d503782699
commit
9abc26ee92
@ -109,7 +109,7 @@ public class ParsedStats extends ParsedAggregation implements Stats {
|
||||
builder.nullField(Fields.MIN);
|
||||
builder.nullField(Fields.MAX);
|
||||
builder.nullField(Fields.AVG);
|
||||
builder.nullField(Fields.SUM);
|
||||
builder.field(Fields.SUM, 0.0d);
|
||||
}
|
||||
otherStatsToXContent(builder, params);
|
||||
return builder;
|
||||
|
Loading…
x
Reference in New Issue
Block a user