Skip to content

Commit

Permalink
[Rollups] Fix broken link in Rollup Jobs (#58802) (#58929) (#59173)
Browse files Browse the repository at this point in the history
  • Loading branch information
alisonelizabeth authored Mar 3, 2020
1 parent 59a12ab commit 374e3c8
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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`;
Expand All @@ -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`;

0 comments on commit 374e3c8

Please sign in to comment.