mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-20 03:45:02 +00:00
Fix bad toXContent for derivative aggregation
I busted it in the last commit.
This commit is contained in:
parent
a36b6138d7
commit
135511134c
@ -186,7 +186,7 @@ public class DerivativePipelineAggregatorBuilder extends PipelineAggregatorBuild
|
||||
builder.field(GAP_POLICY_FIELD.getPreferredName(), gapPolicy.getName());
|
||||
}
|
||||
if (units != null) {
|
||||
builder.field(FORMAT_FIELD.getPreferredName(), units);
|
||||
builder.field(UNIT_FIELD.getPreferredName(), units);
|
||||
}
|
||||
return builder;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user