Skip to content

Commit f412cf0

Browse files
committed
Fix cat record type
1 parent b892856 commit f412cf0

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/Nest/Cat/CatTrainedModels/CatTrainedModelsRecord.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public class CatTrainedModelsRecord : ICatRecord
6464
/// (Default) The total number of ingest pipelines that are referencing the trained model.
6565
/// </summary>
6666
[DataMember(Name = "ingest.pipelines")]
67-
public long? IngestPipelines { get; set; }
67+
public string IngestPipelines { get; set; }
6868

6969
/// <summary>
7070
/// The total time that is spent processing documents with the trained model.
@@ -83,7 +83,7 @@ public class CatTrainedModelsRecord : ICatRecord
8383
/// complexity of the model.
8484
/// </summary>
8585
[DataMember(Name = "operations")]
86-
public long? Operations { get; set; }
86+
public string Operations { get; set; }
8787

8888
/// <summary>
8989
/// The Elasticsearch version number in which the trained model was created.

tests/Tests/Cat/CatTrainedModels/CatTrainedModelsApiTests.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
using Elastic.Xunit.XunitPlumbing;
22
using Elasticsearch.Net;
3-
using FluentAssertions;
43
using Nest;
54
using Tests.Core.Extensions;
65
using Tests.Core.ManagedElasticsearch.Clusters;

0 commit comments

Comments
 (0)