Skip to content

Commit 1f7b1ba

Browse files
committed
Fix typos
1 parent 163e1c9 commit 1f7b1ba

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

distribution/tools/plugin-cli/src/main/java/org/elasticsearch/plugins/InstallPluginCommand.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ private InputStream urlOpenStream(final URL url) throws IOException {
425425
}
426426

427427
/**
428-
* Downlaods a ZIP from the URL. This method also validates the downloaded plugin ZIP via the following means:
428+
* Downloads a ZIP from the URL. This method also validates the downloaded plugin ZIP via the following means:
429429
* <ul>
430430
* <li>
431431
* For an official plugin we download the SHA-512 checksum and validate the integrity of the downloaded ZIP. We also download the

distribution/tools/plugin-cli/src/test/java/org/elasticsearch/plugins/InstallPluginCommandTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1102,7 +1102,7 @@ public void testPublicKeyIdMismatchToExpectedPublicKeyId() throws Exception {
11021102
"https://artifacts.elastic.co/downloads/elasticsearch-plugins/analysis-icu/" + icu + "-" + Version.CURRENT + ".zip";
11031103
final MessageDigest digest = MessageDigest.getInstance("SHA-512");
11041104
/*
1105-
* To setup a situation where the expected public key ID does not match the public key ID used for singing, we generate a new public
1105+
* To setup a situation where the expected public key ID does not match the public key ID used for signing, we generate a new public
11061106
* key at the moment of signing (see the signature invocation). Note that this key will not match the key that we push down to the
11071107
* install plugin command.
11081108
*/

0 commit comments

Comments
 (0)