Skip to content

Commit

Permalink
Change copy references of 'deprecation issues' to 'deprecation warnin…
Browse files Browse the repository at this point in the history
…gs'. (elastic#109963)
  • Loading branch information
cjcenizal authored and sabarasaba committed Oct 26, 2021
1 parent 5792f8a commit af1ef1a
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ describe('Deprecations table', () => {

expect(exists('noDeprecationsRow')).toBe(true);
expect(find('noDeprecationsRow').text()).toContain(
'No Elasticsearch deprecation issues found'
'No Elasticsearch deprecation warnings found'
);
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const i18nTexts = {
noDeprecationsMessage: i18n.translate(
'xpack.upgradeAssistant.esDeprecations.table.noDeprecationsMessage',
{
defaultMessage: 'No Elasticsearch deprecation issues found',
defaultMessage: 'No Elasticsearch deprecation warnings found',
}
),
typeFilterLabel: i18n.translate('xpack.upgradeAssistant.esDeprecations.table.typeFilterLabel', {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const i18nTexts = {
}),

backupStepDescription: i18n.translate('xpack.upgradeAssistant.overview.backupStepDescription', {
defaultMessage: 'Back up your data before addressing any deprecation issues.',
defaultMessage: 'Back up your data before addressing any deprecation warnings.',
}),
};

Expand Down
4 changes: 2 additions & 2 deletions x-pack/plugins/upgrade_assistant/server/routes/status.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ describe('Status API', () => {
expect(resp.payload).toEqual({
readyForUpgrade: false,
details:
'You have 1 Elasticsearch deprecation issues and 1 Kibana deprecation issues that must be resolved before upgrading.',
'You have 1 Elasticsearch deprecation warnings and 1 Kibana deprecation warnings that must be resolved before upgrading.',
});
});

Expand All @@ -97,7 +97,7 @@ describe('Status API', () => {
expect(resp.status).toEqual(200);
expect(resp.payload).toEqual({
readyForUpgrade: true,
details: 'All deprecation issues have been resolved.',
details: 'All deprecation warnings have been resolved.',
});
});

Expand Down
4 changes: 2 additions & 2 deletions x-pack/plugins/upgrade_assistant/server/routes/status.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,14 +45,14 @@ export function registerUpgradeStatusRoute({ router }: RouteDependencies) {
return i18n.translate(
'xpack.upgradeAssistant.status.allDeprecationsResolvedMessage',
{
defaultMessage: 'All deprecation issues have been resolved.',
defaultMessage: 'All deprecation warnings have been resolved.',
}
);
}

return i18n.translate('xpack.upgradeAssistant.status.deprecationsUnresolvedMessage', {
defaultMessage:
'You have {esTotalCriticalDeps} Elasticsearch deprecation issues and {kibanaTotalCriticalDeps} Kibana deprecation issues that must be resolved before upgrading.',
'You have {esTotalCriticalDeps} Elasticsearch deprecation warnings and {kibanaTotalCriticalDeps} Kibana deprecation warnings that must be resolved before upgrading.',
values: { esTotalCriticalDeps, kibanaTotalCriticalDeps },
});
};
Expand Down

0 comments on commit af1ef1a

Please sign in to comment.