[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
|
@ -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…
Reference in a new issue