From 9ed616a7b3532d4d52b615e2589ecbfa0f943646 Mon Sep 17 00:00:00 2001 From: Santiago Date: Fri, 19 Apr 2024 20:53:51 +0200 Subject: [PATCH] Alerting: Fix typo ('Alert manager' -> 'Alertmanager') (#86608) * Alerting: Fix typo ('Alert manager' -> 'Alertmanager') * fix front-end test --- .../alert-rule-form/simplifiedRouting/AlertManagerRouting.tsx | 2 +- .../notificaton-preview/NotificationPreview.test.tsx | 4 ++-- .../notificaton-preview/NotificationPreviewByAlertManager.tsx | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/public/app/features/alerting/unified/components/rule-editor/alert-rule-form/simplifiedRouting/AlertManagerRouting.tsx b/public/app/features/alerting/unified/components/rule-editor/alert-rule-form/simplifiedRouting/AlertManagerRouting.tsx index 2012a49ec4a..82c7f3ae907 100644 --- a/public/app/features/alerting/unified/components/rule-editor/alert-rule-form/simplifiedRouting/AlertManagerRouting.tsx +++ b/public/app/features/alerting/unified/components/rule-editor/alert-rule-form/simplifiedRouting/AlertManagerRouting.tsx @@ -62,7 +62,7 @@ export function AlertManagerManualRouting({ alertManager }: AlertManagerManualRo
- Alert manager: + Alertmanager: Alert manager logo {alertManagerName}
diff --git a/public/app/features/alerting/unified/components/rule-editor/notificaton-preview/NotificationPreview.test.tsx b/public/app/features/alerting/unified/components/rule-editor/notificaton-preview/NotificationPreview.test.tsx index 294dab53cc4..ebddb57e285 100644 --- a/public/app/features/alerting/unified/components/rule-editor/notificaton-preview/NotificationPreview.test.tsx +++ b/public/app/features/alerting/unified/components/rule-editor/notificaton-preview/NotificationPreview.test.tsx @@ -42,8 +42,8 @@ const ui = { routeMatchingInstances: byTestId('route-matching-instance'), loadingIndicator: byText(/Loading/), previewButton: byRole('button', { name: /preview routing/i }), - grafanaAlertManagerLabel: byText(/alert manager:grafana/i), - otherAlertManagerLabel: byText(/alert manager:other_am/i), + grafanaAlertManagerLabel: byText(/alertmanager:grafana/i), + otherAlertManagerLabel: byText(/alertmanager:other_am/i), seeDetails: byText(/see details/i), details: { title: byRole('heading', { name: /routing details/i }), diff --git a/public/app/features/alerting/unified/components/rule-editor/notificaton-preview/NotificationPreviewByAlertManager.tsx b/public/app/features/alerting/unified/components/rule-editor/notificaton-preview/NotificationPreviewByAlertManager.tsx index 16b2be16519..46e5460a361 100644 --- a/public/app/features/alerting/unified/components/rule-editor/notificaton-preview/NotificationPreviewByAlertManager.tsx +++ b/public/app/features/alerting/unified/components/rule-editor/notificaton-preview/NotificationPreviewByAlertManager.tsx @@ -48,7 +48,7 @@ function NotificationPreviewByAlertManager({
{' '} - Alert manager: + Alertmanager: {alertManagerSource.name}