From 536e7d6d673e09fce71d9aee68ade3aa4e9947c5 Mon Sep 17 00:00:00 2001 From: Sicheng Song Date: Sun, 24 Sep 2023 04:02:32 +0000 Subject: [PATCH] Fix error message in TransportDeplpoyModelAction class Signed-off-by: Sicheng Song --- .../ml/action/deploy/TransportDeployModelAction.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugin/src/main/java/org/opensearch/ml/action/deploy/TransportDeployModelAction.java b/plugin/src/main/java/org/opensearch/ml/action/deploy/TransportDeployModelAction.java index acdfb5ec09..166ee1e88b 100644 --- a/plugin/src/main/java/org/opensearch/ml/action/deploy/TransportDeployModelAction.java +++ b/plugin/src/main/java/org/opensearch/ml/action/deploy/TransportDeployModelAction.java @@ -250,11 +250,11 @@ protected void doExecute(Task task, ActionRequest request, ActionListener { - log.error("Failed to deploy model " + modelId, e); + log.error("Failed to get ML model " + modelId, e); listener.onFailure(e); })); } catch (Exception e) { - log.error("Failed to get ML model " + modelId, e); + log.error("Failed to deploy model " + modelId, e); listener.onFailure(e); }