From c1477a3328eca60d832e4fd0b17c82dba05be382 Mon Sep 17 00:00:00 2001 From: Russ Cam Date: Tue, 23 Jun 2020 08:54:47 +1000 Subject: [PATCH] Remove MapsApi from DeleteExpiredData overload This commit removes the MapsApiAttribute from the DeleteExpiredData overloads, so that the overload with a body are used. --- .../Patch.ElasticLowLevelClient.MachineLearning.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/Elasticsearch.Net/Patch.ElasticLowLevelClient.MachineLearning.cs b/src/Elasticsearch.Net/Patch.ElasticLowLevelClient.MachineLearning.cs index 43241536dd7..b52d9ed31cb 100644 --- a/src/Elasticsearch.Net/Patch.ElasticLowLevelClient.MachineLearning.cs +++ b/src/Elasticsearch.Net/Patch.ElasticLowLevelClient.MachineLearning.cs @@ -17,7 +17,6 @@ public TResponse DeleteExpiredData(DeleteExpiredDataRequestParameters where TResponse : class, IElasticsearchResponse, new() => DoRequest(DELETE, "_ml/_delete_expired_data", null, RequestParams(requestParameters)); ///DELETE on /_ml/_delete_expired_data https://www.elastic.co/guide/en/elasticsearch/reference/current/ml-delete-expired-data.html ///Request specific configuration such as querystring parameters & request specific connection settings. - [MapsApi("ml.delete_expired_data")] public Task DeleteExpiredDataAsync(DeleteExpiredDataRequestParameters requestParameters = null, CancellationToken ctx = default) where TResponse : class, IElasticsearchResponse, new() => DoRequestAsync(DELETE, "_ml/_delete_expired_data", ctx, null, RequestParams(requestParameters)); }