Browse Source

Fix typos in comment in RemovePluginCommand

This commit fixes some typos in a comment explaining the special
handling of ingest-geoip and ingest-user-agent in RemovePluginCommand.
Jason Tedor 6 years ago
parent
commit
02a1b2bd75

+ 1 - 1
distribution/tools/plugin-cli/src/main/java/org/elasticsearch/plugins/RemovePluginCommand.java

@@ -114,7 +114,7 @@ class RemovePluginCommand extends EnvironmentAwareCommand {
 
             /*
              * This is special case handling for ingest-geoip and ingest-user-agent since they are modules now but could have been installed
-             * from a previous when it was a plugin.
+             * from a previous version when there were plugins.
              */
             if ("ingest-geoip".equals(pluginName) || "ingest-user-agent".equals(pluginName)) {
                 throw new UserException(