Skip to content

Commit 381afe9

Browse files
committed
Renamed parameter to types instead of completion_fields
1 parent 15e1816 commit 381afe9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Nest/DSL/IndicesStatsDescriptor.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,9 @@ public partial class IndicesStatsDescriptor : IndicesOptionalPathDescriptor<Indi
5151
IEnumerable<IndicesStatsMetric> IIndicesStatsRequest.Metrics { get; set; }
5252

5353
//<summary>A comma-separated list of fields for `completion` metric (supports wildcards)</summary>
54-
public IndicesStatsDescriptor Types(params TypeNameMarker[] completion_fields)
54+
public IndicesStatsDescriptor Types(params TypeNameMarker[] types)
5555
{
56-
Self.Types = completion_fields;
56+
Self.Types = types;
5757
return this;
5858
}
5959

0 commit comments

Comments
 (0)