Skip to content

Commit

Permalink
Remove warnings about last minor
Browse files Browse the repository at this point in the history
  • Loading branch information
joshdover committed Jan 28, 2019
1 parent 979ae76 commit c0cf74d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 0 additions & 3 deletions x-pack/plugins/upgrade_assistant/public/components/tabs.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ import { injectI18n } from '@kbn/i18n/react';
import chrome from 'ui/chrome';

import { UpgradeAssistantStatus } from '../../server/lib/es_migration_apis';
import { LatestMinorBanner } from './latest_minor_banner';
import { CheckupTab } from './tabs/checkup';
import { OverviewTab } from './tabs/overview';
import { LoadingState, UpgradeAssistantTabProps } from './types';
Expand Down Expand Up @@ -88,8 +87,6 @@ export class UpgradeAssistantTabsUI extends React.Component<
loadingState,
refreshCheckupData: this.loadData,
setSelectedTabIndex: this.setSelectedTabIndex,
// Remove this in last minor of the current major (eg. 6.7)
alertBanner: <LatestMinorBanner />,
};

return [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ import { DeprecationLoggingToggle } from './deprecation_logging_toggle';

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

// Swap in START_UPGRADE_STEP on the last minor release.
WAIT_FOR_RELEASE_STEP,
START_UPGRADE_STEP,
]}
/>
);
Expand Down

0 comments on commit c0cf74d

Please sign in to comment.