From 207d3a60e76c64b2e4a3553e999425879a8a997c Mon Sep 17 00:00:00 2001 From: Ryan Ernst Date: Thu, 18 Aug 2016 23:06:14 -0700 Subject: [PATCH] Fix staging url for official plugins This was incorrectly setup in #19996, without the version in the staging build id. --- .../java/org/elasticsearch/plugins/InstallPluginCommand.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/elasticsearch/plugins/InstallPluginCommand.java b/core/src/main/java/org/elasticsearch/plugins/InstallPluginCommand.java index 25dec47862b..6579257b5a7 100644 --- a/core/src/main/java/org/elasticsearch/plugins/InstallPluginCommand.java +++ b/core/src/main/java/org/elasticsearch/plugins/InstallPluginCommand.java @@ -212,7 +212,7 @@ class InstallPluginCommand extends SettingCommand { final String stagingHash = System.getProperty(PROPERTY_STAGING_ID); if (stagingHash != null) { url = String.format(Locale.ROOT, - "https://staging.elastic.co/%1$s/download/elasticsearch-plugins/%2$s/%2$s-%3$s.zip", + "https://staging.elastic.co/%3$s-%1$s/download/elasticsearch-plugins/%2$s/%2$s-%3$s.zip", stagingHash, pluginId, version); } else { url = String.format(Locale.ROOT,