Fix compilation in UpgradeKeyStoreCommandTests
This commit fixes compilation in this class, for which an issue arose
after a backport gone bad where method signatures changed between 6.8
and 7.1.
package org.elasticsearch.common.settings;
import org.elasticsearch.cli.Command;
+import org.elasticsearch.cli.Terminal;
import org.elasticsearch.cli.UserException;
import org.elasticsearch.env.Environment;
@@ -41,7 +42,7 @@ public class UpgradeKeyStoreCommandTests extends KeyStoreCommandTestCase {
return new UpgradeKeyStoreCommand() {
@Override
- protected Environment createEnv(final Map<String, String> settings) {
+ protected Environment createEnv(final Terminal terminal, final Map<String, String> settings) {
return env;
}
