Skip to content

Commit

Permalink
Add enabled key schema validation (#57935) (#58071)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kerry350 authored Feb 20, 2020
1 parent a90292e commit b7251d5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions x-pack/plugins/infra/server/plugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ import { InfraStaticSourceConfiguration } from './lib/sources/types';

export const config = {
schema: schema.object({
enabled: schema.boolean({ defaultValue: true }),
query: schema.object({
partitionSize: schema.number({ defaultValue: 75 }),
partitionFactor: schema.number({ defaultValue: 1.2 }),
Expand Down

0 comments on commit b7251d5

Please sign in to comment.