Skip to content

Commit

Permalink
use warning instead of critical
Browse files Browse the repository at this point in the history
  • Loading branch information
jloleysens committed Nov 15, 2021
1 parent 22375b6 commit 9b5f93a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions x-pack/plugins/reporting/server/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ export const config: PluginConfigDescriptor<ReportingConfigType> = {
exposeToBrowser: { poll: true, roles: true },
schema: ConfigSchema,
deprecations: ({ unused }) => [
unused('capture.browser.chromium.maxScreenshotDimension', { level: 'critical' }), // unused since 7.8
unused('poll.jobCompletionNotifier.intervalErrorMultiplier', { level: 'critical' }), // unused since 7.10
unused('poll.jobsRefresh.intervalErrorMultiplier', { level: 'critical' }), // unused since 7.10
unused('capture.viewport', { level: 'critical' }), // deprecated as unused since 7.16
unused('capture.browser.chromium.maxScreenshotDimension', { level: 'warning' }), // unused since 7.8
unused('poll.jobCompletionNotifier.intervalErrorMultiplier', { level: 'warning' }), // unused since 7.10
unused('poll.jobsRefresh.intervalErrorMultiplier', { level: 'warning' }), // unused since 7.10
unused('capture.viewport', { level: 'warning' }), // deprecated as unused since 7.16
(settings, fromPath, addDeprecation) => {
const reporting = get(settings, fromPath);
if (reporting?.roles?.enabled !== false) {
Expand Down

0 comments on commit 9b5f93a

Please sign in to comment.