Skip to content

Commit

Permalink
Fix hard-coded links to master
Browse files Browse the repository at this point in the history
  • Loading branch information
lcawl committed Jan 30, 2025
1 parent 39f78c7 commit 1d148d4
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ describe('AiAssistantSelectionPage', () => {
screen.getByTestId('pluginsAiAssistantSelectionPageDocumentationLink')
).toHaveAttribute(
'href',
'https://www.elastic.co/guide/en/observability/master/obs-ai-assistant.html'
'https://www.elastic.co/guide/en/observability/current/obs-ai-assistant.html'
);
});
});
Expand Down Expand Up @@ -144,7 +144,7 @@ describe('AiAssistantSelectionPage', () => {
screen.getByTestId('securityAiAssistantSelectionPageDocumentationLink')
).toHaveAttribute(
'href',
'https://www.elastic.co/guide/en/security/master/security-assistant.html'
'https://www.elastic.co/guide/en/security/current/security-assistant.html'
);
});
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export function LayerSettingsPanel({
values={{
link: (
<EuiLink
href="https://www.elastic.co/guide/en/elasticsearch/reference/master/search-aggregations-random-sampler-aggregation.html"
href="https://www.elastic.co/guide/en/elasticsearch/reference/current/search-aggregations-random-sampler-aggregation.html"
target="_blank"
external
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ const MLJobsAwaitingNodeWarning: FC<Props> = ({ jobIds }) => {
link: (
<EuiLink
href={
'https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-node.html#ml-node'
'https://www.elastic.co/guide/en/elasticsearch/reference/current/modules-node.html#ml-node'
}
>
<FormattedMessage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
import { getTailSamplingSettings, isTailBasedSamplingValid } from './tail_sampling_settings';

const DOCS_LINK =
'https://www.elastic.co/guide/en/apm/guide/master/configure-tail-based-sampling.html';
'https://www.elastic.co/guide/en/apm/guide/current/configure-tail-based-sampling.html';

describe('tail_sampling_settings - isTailBasedSamplingFormValid', () => {
it('return true when tail_sampling_interval is greater than 1s', () => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ EOF`}
<EuiLink
data-test-subj="profilingAddDataViewInstructionsHereLink"
target="_blank"
href={`https://www.elastic.co/guide/en/kibana/master/api-keys.html`}
href={`https://www.elastic.co/guide/en/kibana/current/api-keys.html`}
>
{i18n.translate('xpack.profiling.tabs.symbols.step2.instructions', {
defaultMessage: 'Instructions here',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ export const ParamsList = () => {
learnMore: (
<EuiLink
data-test-subj="syntheticsParamsListLink"
href="https://www.elastic.co/guide/en/observability/master/synthetics-params-secrets.html"
href="https://www.elastic.co/guide/en/observability/current/synthetics-params-secrets.html"
target="_blank"
>
{LEARN_MORE}
Expand Down

0 comments on commit 1d148d4

Please sign in to comment.