Skip to content

Commit

Permalink
Merge branch 'main' into feature/permissions-improve
Browse files Browse the repository at this point in the history
  • Loading branch information
shahargl authored Nov 12, 2024
2 parents 4449583 + 689cacf commit 870eef5
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion keep-ui/app/providers/provider-form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@ const ProviderForm = ({
);
} else if (updatedFormErrors.includes("Failed to fetch")) {
setFormErrors(
"Failed to connect to API: Check your internet connection"
"Failed to connect to API: Check provider settings and your internet connection"
);
} else {
setFormErrors(updatedFormErrors);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const CorrelationSidebarHeader = ({
{isRuleBeingEdited ? "Edit" : "Create"} Correlation
</Dialog.Title>
<Dialog.Description as={Subtitle}>
Group multiple alerts into single alert
Group multiple alerts into a single incident
</Dialog.Description>
</div>
<div>
Expand Down
2 changes: 1 addition & 1 deletion keep-ui/utils/hooks/useAlerts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const useAlerts = () => {
selectedAlert && session
? `${apiUrl}/alerts/${
selectedAlert.fingerprint
}/history/?provider_id=${selectedAlert.providerId}&provider_type=${
}/history?provider_id=${selectedAlert.providerId}&provider_type=${
selectedAlert.source ? selectedAlert.source[0] : ""
}`
: null,
Expand Down
2 changes: 1 addition & 1 deletion keep/providers/pagerduty_provider/pagerduty_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -507,7 +507,7 @@ def _format_alert(
# If somebody connected the provider before we refactored it
old_format_event = event.get("event", {})
if old_format_event is not None and isinstance(old_format_event, dict):
return PagerdutyProvider._format_alert_old(old_format_event)
return PagerdutyProvider._format_alert_old(event)

status = PagerdutyProvider.ALERT_STATUS_MAP.get(event.get("status", "firing"))
severity = PagerdutyProvider.ALERT_SEVERITIES_MAP.get(
Expand Down

0 comments on commit 870eef5

Please sign in to comment.