Skip to content

Commit 4860512

Browse files
authored
[upgrade-assistant] Remove warnings about last minor (#29467)
1 parent 73567a2 commit 4860512

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

x-pack/plugins/upgrade_assistant/public/components/tabs.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ import { injectI18n } from '@kbn/i18n/react';
1414
import chrome from 'ui/chrome';
1515

1616
import { UpgradeAssistantStatus } from '../../server/lib/es_migration_apis';
17-
import { LatestMinorBanner } from './latest_minor_banner';
1817
import { CheckupTab } from './tabs/checkup';
1918
import { OverviewTab } from './tabs/overview';
2019
import { LoadingState, UpgradeAssistantTabProps } from './types';
@@ -88,8 +87,6 @@ export class UpgradeAssistantTabsUI extends React.Component<
8887
loadingState,
8988
refreshCheckupData: this.loadData,
9089
setSelectedTabIndex: this.setSelectedTabIndex,
91-
// Remove this in last minor of the current major (eg. 6.7)
92-
alertBanner: <LatestMinorBanner />,
9390
};
9491

9592
return [

x-pack/plugins/upgrade_assistant/public/components/tabs/overview/steps.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ import { DeprecationLoggingToggle } from './deprecation_logging_toggle';
2626

2727
// Leaving these here even if unused so they are picked up for i18n static analysis
2828
// Keep this until last minor release (when next major is also released).
29+
// @ts-ignore
2930
const WAIT_FOR_RELEASE_STEP = {
3031
title: i18n.translate('xpack.upgradeAssistant.overviewTab.steps.waitForReleaseStep.stepTitle', {
3132
defaultMessage: 'Wait for the Elasticsearch {nextEsVersion} release',
@@ -266,7 +267,7 @@ export const StepsUI: StatelessComponent<
266267
},
267268

268269
// Swap in START_UPGRADE_STEP on the last minor release.
269-
WAIT_FOR_RELEASE_STEP,
270+
START_UPGRADE_STEP,
270271
]}
271272
/>
272273
);

0 commit comments

Comments
 (0)