mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 01:13:23 -04:00
Co-authored-by: spalger <spalger@users.noreply.github.com> # Conflicts: # packages/kbn-es/src/cluster.js
This commit is contained in:
parent
80b018e6e8
commit
a3b55577b1
1 changed files with 2 additions and 3 deletions
|
@ -235,7 +235,7 @@ exports.Cluster = class Cluster {
|
|||
* @private
|
||||
* @param {String} installPath
|
||||
* @param {Object} options
|
||||
* @property {Array} options.esArgs
|
||||
* @property {string|Array} options.esArgs
|
||||
* @return {undefined}
|
||||
*/
|
||||
_exec(installPath, options = {}) {
|
||||
|
@ -246,8 +246,7 @@ exports.Cluster = class Cluster {
|
|||
this._log.info(chalk.bold('Starting'));
|
||||
this._log.indent(4);
|
||||
|
||||
const esArgs = options.esArgs || [];
|
||||
|
||||
const esArgs = [].concat(options.esArgs || []);
|
||||
// Add to esArgs if ssl is enabled
|
||||
if (this._ssl) {
|
||||
esArgs.push('xpack.security.http.ssl.enabled=true');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue