From de606ccfed223dc740a6132cdc84a10ad8ab9620 Mon Sep 17 00:00:00 2001 From: Remi Date: Tue, 16 Feb 2021 10:25:21 +0100 Subject: [PATCH] fix(splunk-on-call-plugin): typos --- plugins/splunk-on-call/README.md | 2 +- plugins/splunk-on-call/src/api/types.ts | 2 -- plugins/splunk-on-call/src/components/SplunkOnCallCard.tsx | 2 +- .../src/components/TriggerDialog/TriggerDialog.tsx | 4 ++-- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/plugins/splunk-on-call/README.md b/plugins/splunk-on-call/README.md index 592914fad2..73ee05c181 100644 --- a/plugins/splunk-on-call/README.md +++ b/plugins/splunk-on-call/README.md @@ -29,7 +29,7 @@ Add it to the app in `plugins.ts`: export { plugin as SplunkOnCall } from '@backstage/plugin-splunk-on-call'; ``` -Add it to the `EntityPage.ts`: +Add it to the `EntityPage.tsx`: ```ts import { diff --git a/plugins/splunk-on-call/src/api/types.ts b/plugins/splunk-on-call/src/api/types.ts index 86c7a9b4bf..500f2a6291 100644 --- a/plugins/splunk-on-call/src/api/types.ts +++ b/plugins/splunk-on-call/src/api/types.ts @@ -44,13 +44,11 @@ export type TriggerAlarmRequest = { export interface SplunkOnCallApi { /** * Fetches a list of incidents - * */ getIncidents(): Promise; /** * Fetches the list of users in an escalation policy. - * */ getOnCallUsers(): Promise; diff --git a/plugins/splunk-on-call/src/components/SplunkOnCallCard.tsx b/plugins/splunk-on-call/src/components/SplunkOnCallCard.tsx index c3ba0adf95..84d94d60d3 100644 --- a/plugins/splunk-on-call/src/components/SplunkOnCallCard.tsx +++ b/plugins/splunk-on-call/src/components/SplunkOnCallCard.tsx @@ -69,7 +69,7 @@ export const MissingUsername = () => ( ); diff --git a/plugins/splunk-on-call/src/components/TriggerDialog/TriggerDialog.tsx b/plugins/splunk-on-call/src/components/TriggerDialog/TriggerDialog.tsx index abc5f4fd22..8132db985b 100644 --- a/plugins/splunk-on-call/src/components/TriggerDialog/TriggerDialog.tsx +++ b/plugins/splunk-on-call/src/components/TriggerDialog/TriggerDialog.tsx @@ -297,8 +297,8 @@ export const TriggerDialog = ({ inputProps={{ 'data-testid': 'trigger-select-behavior' }} > - Stop paging after a single Acknowledge from an escalation policy - or user + Stop paging after a single escalation policy or user has + acknowledged Continue paging until each escalation policy or user above has