From 0e91700c97cf85758d224d1f027027d2e704ed14 Mon Sep 17 00:00:00 2001 From: Fan Jingbo Date: Thu, 10 Dec 2020 15:44:52 +0800 Subject: [PATCH] Fix the warn of list plugin command --- .../main/java/org/elasticsearch/plugins/ListPluginsCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distribution/tools/plugin-cli/src/main/java/org/elasticsearch/plugins/ListPluginsCommand.java b/distribution/tools/plugin-cli/src/main/java/org/elasticsearch/plugins/ListPluginsCommand.java index e7463615758cd..2f943445aaa05 100644 --- a/distribution/tools/plugin-cli/src/main/java/org/elasticsearch/plugins/ListPluginsCommand.java +++ b/distribution/tools/plugin-cli/src/main/java/org/elasticsearch/plugins/ListPluginsCommand.java @@ -70,7 +70,7 @@ private void printPlugin(Environment env, Terminal terminal, Path plugin, String "WARNING: plugin [" + info.getName() + "] was built for Elasticsearch version " - + info.getVersion() + + info.getElasticsearchVersion() + " but version " + Version.CURRENT + " is required"