Skip to content

Commit

Permalink
Fix link to upgrade assistant (#82138) (#82321)
Browse files Browse the repository at this point in the history
This broke when stack management changed their URLs.
  • Loading branch information
smith committed Nov 2, 2020
1 parent 51dc791 commit de4e8b0
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions x-pack/plugins/apm/public/setHelpExtension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
* you may not use this file except in compliance with the Elastic License.
*/

import url from 'url';
import { i18n } from '@kbn/i18n';
import { CoreStart } from 'kibana/public';

Expand All @@ -20,10 +19,7 @@ export function setHelpExtension({ chrome, http }: CoreStart) {
},
{
linkType: 'custom',
href: url.format({
pathname: http.basePath.prepend('/app/kibana'),
hash: '/management/stack/upgrade_assistant',
}),
href: http.basePath.prepend('/app/management/stack/upgrade_assistant'),
content: i18n.translate('xpack.apm.helpMenu.upgradeAssistantLink', {
defaultMessage: 'Upgrade assistant',
}),
Expand Down

0 comments on commit de4e8b0

Please sign in to comment.