diff --git a/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/inference/pytorch/results/ThreadSettings.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/inference/pytorch/results/ThreadSettings.java index 6ccec907982d2..3d2ad6997545d 100644 --- a/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/inference/pytorch/results/ThreadSettings.java +++ b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/inference/pytorch/results/ThreadSettings.java @@ -16,8 +16,8 @@ public record ThreadSettings(int numThreadsPerAllocation, int numAllocations, String requestId) implements ToXContentObject { - private static final ParseField NUM_ALLOCATIONS = new ParseField("num_threads_per_allocation"); - private static final ParseField NUM_THREADS_PER_ALLOCATION = new ParseField("num_allocations"); + private static final ParseField NUM_ALLOCATIONS = new ParseField("num_allocations"); + private static final ParseField NUM_THREADS_PER_ALLOCATION = new ParseField("num_threads_per_allocation"); public static ConstructingObjectParser PARSER = new ConstructingObjectParser<>( "thread_settings",