Skip to content

Commit 529c8d9

Browse files
committed
Fix typo in CardinalityAggregationDescriptor (issue #673)
1 parent 35eab8c commit 529c8d9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Nest/DSL/Aggregations/CardinalityAggregationDescriptor.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ public class CardinalityAggregationDescriptor<T> : MetricAggregationBaseDescript
1313
where T : class
1414
{
1515

16-
[JsonProperty("precision_treshold")]
17-
internal int? _PrecisionTreshold { get; set; }
16+
[JsonProperty("precision_threshold")]
17+
internal int? _PrecisionThreshold { get; set; }
1818

19-
public CardinalityAggregationDescriptor<T> PrecisionTreshold(int precisionTreshold)
19+
public CardinalityAggregationDescriptor<T> PrecisionThreshold(int precisionThreshold)
2020
{
21-
this._PrecisionTreshold = precisionTreshold;
21+
this._PrecisionThreshold = precisionThreshold;
2222
return this;
2323
}
2424

0 commit comments

Comments
 (0)