From 417f7966938b6a4d1a7401a9ed055432618b9c91 Mon Sep 17 00:00:00 2001 From: Justin Juno <50022106+justinjunodev@users.noreply.github.com> Date: Tue, 3 Mar 2020 10:25:59 -0600 Subject: [PATCH] [Rollups] Fix broken link in Rollup Jobs (#58802) (#58929) --- .../rollup/public/crud_app/services/documentation_links.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/x-pack/legacy/plugins/rollup/public/crud_app/services/documentation_links.js b/x-pack/legacy/plugins/rollup/public/crud_app/services/documentation_links.js index ce42b26cc3e86..bc9cb15e1c5e0 100644 --- a/x-pack/legacy/plugins/rollup/public/crud_app/services/documentation_links.js +++ b/x-pack/legacy/plugins/rollup/public/crud_app/services/documentation_links.js @@ -5,11 +5,9 @@ */ let esBase = ''; -let xPackBase = ''; export function setEsBaseAndXPackBase(elasticWebsiteUrl, docLinksVersion) { esBase = `${elasticWebsiteUrl}guide/en/elasticsearch/reference/${docLinksVersion}`; - xPackBase = `${elasticWebsiteUrl}guide/en/x-pack/${docLinksVersion}`; } export const getLogisticalDetailsUrl = () => `${esBase}/rollup-job-config.html#_logistical_details`; @@ -21,4 +19,4 @@ export const getMetricsDetailsUrl = () => `${esBase}/rollup-job-config.html#roll export const getDateHistogramAggregationUrl = () => `${esBase}/search-aggregations-bucket-datehistogram-aggregation.html`; -export const getCronUrl = () => `${xPackBase}/trigger-schedule.html#_cron_expressions`; +export const getCronUrl = () => `${esBase}/trigger-schedule.html#_cron_expressions`;