mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[kbn-es] Updates location of ES OSS snapshot (#18938)
ES snapshots are located again within the base elasticsearch directory and NOT within an additionally nested elasticsearch-oss directory Signed-off-by: Tyler Smalley <tyler.smalley@elastic.co>
This commit is contained in:
parent
c9cb8108e4
commit
bc388bfc52
1 changed files with 4 additions and 4 deletions
|
@ -97,9 +97,9 @@ function downloadFile(url, dest, log) {
|
|||
}
|
||||
|
||||
function getFilename(license, version) {
|
||||
if (license === 'oss') {
|
||||
return `elasticsearch-oss/elasticsearch-oss-${version}-SNAPSHOT.tar.gz`;
|
||||
}
|
||||
const basename = `elasticsearch${
|
||||
license === 'oss' ? '-oss-' : '-'
|
||||
}${version}`;
|
||||
|
||||
return `elasticsearch-${version}-SNAPSHOT.tar.gz`;
|
||||
return `${basename}-SNAPSHOT.tar.gz`;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue