diff --git a/x-pack/plugins/reporting/server/config/index.test.ts b/x-pack/plugins/reporting/server/config/index.test.ts index 5cff587d39b5db..ac20ed6c303d70 100644 --- a/x-pack/plugins/reporting/server/config/index.test.ts +++ b/x-pack/plugins/reporting/server/config/index.test.ts @@ -7,7 +7,7 @@ import { config } from './index'; import { applyDeprecations, configDeprecationFactory } from '@kbn/config'; -const CONFIG_PATH = 'kibana'; +const CONFIG_PATH = 'xpack.reporting'; const applyReportingDeprecations = (settings: Record = {}) => { const deprecations = config.deprecations!(configDeprecationFactory); diff --git a/x-pack/plugins/reporting/server/config/index.ts b/x-pack/plugins/reporting/server/config/index.ts index e92f5d10bf551e..9ec06df7e69b92 100644 --- a/x-pack/plugins/reporting/server/config/index.ts +++ b/x-pack/plugins/reporting/server/config/index.ts @@ -25,7 +25,7 @@ export const config: PluginConfigDescriptor = { const reporting = get(settings, fromPath); if (reporting?.index) { log( - `"xpack.reporting.index" is deprecated. Multitenancy by changing "kibana.index" will not be supported starting in 8.0. See https://ela.st/kbn-remove-legacy-multitenancy for more details` + `"${fromPath}.index" is deprecated. Multitenancy by changing "kibana.index" will not be supported starting in 8.0. See https://ela.st/kbn-remove-legacy-multitenancy for more details` ); } return settings;