Skip to content

Commit

Permalink
[master] [reporting/autoDownload] default to true when not in distrib…
Browse files Browse the repository at this point in the history
…utable (#32803) (#32805)

Backports the following commits to master:
 - [reporting/autoDownload] default to true when not in distributable (#32803) (3c3183f)
  • Loading branch information
Spencer authored Mar 8, 2019
1 parent 41e68eb commit ccb3a51
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions x-pack/plugins/reporting/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ export const reporting = (kibana) => {
concurrency: Joi.number().integer().default(appConfig.concurrency), //deprecated
browser: Joi.object({
type: Joi.any().valid(CHROMIUM).default(CHROMIUM),
autoDownload: Joi.boolean().when('$dev', {
autoDownload: Joi.boolean().when('$dist', {
is: true,
then: Joi.default(true),
otherwise: Joi.default(false),
then: Joi.default(false),
otherwise: Joi.default(true),
}),
chromium: Joi.object({
disableSandbox: Joi.boolean().default(await getDefaultChromiumSandboxDisabled()),
Expand Down

0 comments on commit ccb3a51

Please sign in to comment.