Skip to content

Commit

Permalink
improve message again
Browse files Browse the repository at this point in the history
  • Loading branch information
pgayvallet committed Sep 14, 2021
1 parent 026a80d commit d3e47f6
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,12 @@ export const getUnknownTypesDeprecations = async (
}),
message: i18n.translate('core.savedObjects.deprecations.unknownTypes.message', {
defaultMessage:
'Upgrades will fail for 8.0+ because documents were found for unknown saved object types.' +
'{objectCount, plural, one {# object} other {# objects}} with unknown types {objectCount, plural, one {was} other {were}} found in Kibana system indices. ' +
'Upgrading with unknown savedObject types is no longer supported. ' +
`To ensure that upgrades will succeed in the future, either re-enable plugins or delete these documents from the Kibana indices`,
values: {
objectCount: unknownDocs.length,
},
}),
level: 'critical',
requireRestart: false,
Expand Down

0 comments on commit d3e47f6

Please sign in to comment.