Skip to content

Commit

Permalink
Revising deprecation log message
Browse files Browse the repository at this point in the history
  • Loading branch information
kobelb committed Nov 20, 2020
1 parent b168af9 commit 81674af
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/core/server/kibana_config.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ describe('deprecations', () => {
const { messages } = applyKibanaDeprecations({ index });
expect(messages).toMatchInlineSnapshot(`
Array [
"Multitenancy by changing 'kibana.index' is no longer supported. See https://ela.st/kbn-remove-legacy-multitenancy for more details",
"Multitenancy by changing 'kibana.index' will not be supported starting in 8.0. See https://ela.st/kbn-remove-legacy-multitenancy for more details",
]
`);
});
Expand Down
2 changes: 1 addition & 1 deletion src/core/server/kibana_config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const deprecations: ConfigDeprecationProvider = () => [
const kibana = settings[fromPath];
if (kibana?.index) {
log(
`Multitenancy by changing 'kibana.index' is no longer supported. See https://ela.st/kbn-remove-legacy-multitenancy for more details`
`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;
Expand Down

0 comments on commit 81674af

Please sign in to comment.