Skip to content

Commit

Permalink
fix (#144099)
Browse files Browse the repository at this point in the history
  • Loading branch information
Liza Katz authored Oct 27, 2022
1 parent 83e85bd commit b1fb85b
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions packages/kbn-apm-config-loader/src/apm_config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,12 @@

import { schema } from '@kbn/config-schema';

export const apmConfigSchema = schema.object({
apm: schema.object(
{
active: schema.maybe(schema.boolean()),
serverUrl: schema.maybe(schema.uri()),
secretToken: schema.maybe(schema.string()),
globalLabels: schema.object({}, { unknowns: 'allow' }),
},
{ unknowns: 'allow' }
),
});
export const apmConfigSchema = schema.object(
{
active: schema.maybe(schema.boolean()),
serverUrl: schema.maybe(schema.uri()),
secretToken: schema.maybe(schema.string()),
globalLabels: schema.object({}, { unknowns: 'allow' }),
},
{ unknowns: 'allow' }
);

0 comments on commit b1fb85b

Please sign in to comment.