Skip to content

Commit

Permalink
revert unrelated config change
Browse files Browse the repository at this point in the history
  • Loading branch information
tsullivan committed Jan 9, 2020
1 parent d91973c commit 17f6040
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions x-pack/legacy/plugins/reporting/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,7 @@ export async function config(Joi: any) {
}).default(),
encryptionKey: Joi.when(Joi.ref('$dist'), {
is: true,
then: Joi.string()
.allow(null)
.default(null),
then: Joi.string(),
otherwise: Joi.string().default('a'.repeat(32)),
}),
roles: Joi.object({
Expand Down

0 comments on commit 17f6040

Please sign in to comment.