From 5cdc3ab0e8234545a93df7ed567c8f97c68f0254 Mon Sep 17 00:00:00 2001 From: Aurelien FOUCRET Date: Wed, 10 Apr 2024 10:57:10 +0200 Subject: [PATCH] Add the TrainedModelCacheMetadataService to createComponents output --- .../main/java/org/elasticsearch/xpack/ml/MachineLearning.java | 1 + 1 file changed, 1 insertion(+) diff --git a/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/MachineLearning.java b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/MachineLearning.java index 567671beb35ad..f1516980240f2 100644 --- a/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/MachineLearning.java +++ b/x-pack/plugin/ml/src/main/java/org/elasticsearch/xpack/ml/MachineLearning.java @@ -1326,6 +1326,7 @@ public Collection createComponents(PluginServices services) { dataFrameAnalyticsConfigProvider, nativeStorageProvider, modelLoadingService, + trainedModelCacheMetadataService, trainedModelProvider, trainedModelAssignmentService, trainedModelAllocationClusterServiceSetOnce.get(),