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());
|
builder.field(GAP_POLICY_FIELD.getPreferredName(), gapPolicy.getName());
|
||||||
}
|
}
|
||||||
if (units != null) {
|
if (units != null) {
|
||||||
builder.field(FORMAT_FIELD.getPreferredName(), units);
|
builder.field(UNIT_FIELD.getPreferredName(), units);
|
||||||
}
|
}
|
||||||
return builder;
|
return builder;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue