1
0
Эх сурвалжийг харах

fix typo causing incorrect plugin properties lookup in jars

relates #5261
Costin Leau 11 жил өмнө
parent
commit
6e955e682b

+ 1 - 1
src/main/java/org/elasticsearch/plugins/PluginUtils.java

@@ -115,7 +115,7 @@ public final class PluginUtils {
                 try {
                     JarEntry jarEntry = jar.getJarEntry("es-plugin.properties");
                     if (jarEntry != null) {
-                        found.add(new URL("jar:" + file.toURI().toString() + "!/es.plugin.properties"));
+                        found.add(new URL("jar:" + file.toURI().toString() + "!/es-plugin.properties"));
                     }
                 } finally {
                     IOUtils.closeWhileHandlingException(jar);