Skip to content

Commit f018b53

Browse files
committed
fixup! 👷 replace monitor checks by logs query
1 parent 247005e commit f018b53

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

‎scripts/deploy/check-monitors.ts‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ const datacenters = process.argv[2].split(',')
1313
runMain(async () => {
1414
for (const datacenter of datacenters) {
1515
const site = siteByDatacenter[datacenter]
16+
17+
if (!site) {
18+
throw new Error(`No site found for datacenter ${datacenter}`)
19+
}
20+
1621
const apiKey = getTelemetryOrgApiKey(site)
1722
const applicationKey = getTelemetryOrgApplicationKey(site)
1823

‎scripts/deploy/deploy-prod-dc.spec.ts‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ import { beforeEach, before, describe, it, mock } from 'node:test'
44
import type { CommandDetail } from './lib/testHelpers.ts'
55
import { mockModule, mockCommandImplementation } from './lib/testHelpers.ts'
66

7-
// eslint-disable-next-line
8-
describe.only('deploy-prod-dc', () => {
7+
describe('deploy-prod-dc', () => {
98
const commandMock = mock.fn()
109

1110
let commands: CommandDetail[]

0 commit comments

Comments
 (0)