Fix Deprecation to say PagerDuty v1 instead of v2

pull/3299/head
Iris Scholten 2018-04-24 13:41:39 -07:00
parent 558bcaf413
commit 7cb56d1c55
2 changed files with 4 additions and 6 deletions

View File

@ -170,7 +170,7 @@ class AlertTabs extends Component {
const showDeprecation = pagerDutyV1Enabled
const pagerDutyDeprecationMessage = (
<div>
PagerDuty v2 is being{' '}
PagerDuty v1 is being{' '}
{
<a
href="https://v2.developer.pagerduty.com/docs/v1-rest-api-decommissioning-faq"

View File

@ -185,11 +185,9 @@ export const testAlertOutput = async (kapacitor, outputName) => {
export const getAllServices = async kapacitor => {
try {
const {data: {services}} = await kapacitorProxy(
kapacitor,
'GET',
'/kapacitor/v1/service-tests'
)
const {
data: {services},
} = await kapacitorProxy(kapacitor, 'GET', '/kapacitor/v1/service-tests')
return services
} catch (error) {
console.error(error)