Skip to content

Open-source status page, incident response and uptime monitoring

🧹 other (#1006)

Thibault Le Ouaydbcb51d8ee2d
diff --git a/apps/web/src/app/api/checker/cron/_cron.ts b/apps/web/src/app/api/checker/cron/_cron.ts
index 2e3e8c8ac..2219d2a4d 100644
--- a/apps/web/src/app/api/checker/cron/_cron.ts
+++ b/apps/web/src/app/api/checker/cron/_cron.ts
@@ -183,8 +183,6 @@ const createCronTask = async ({
function generateUrl({ row }: { row: z.infer<typeof selectMonitorSchema> }) {
switch (row.jobType) {
case "http":
- // FIXME: remove this after the migration
- case "other":
return `https://openstatus-checker.fly.dev/checker/http?monitor_id=${row.id}`;
case "tcp":
return `https://openstatus-checker.fly.dev/checker/tcp?monitor_id=${row.id}`;
diff --git a/packages/db/src/schema/monitors/constants.ts b/packages/db/src/schema/monitors/constants.ts
index b86207e7e..22aee0cd0 100644
--- a/packages/db/src/schema/monitors/constants.ts
+++ b/packages/db/src/schema/monitors/constants.ts
@@ -8,6 +8,4 @@ export const monitorJobTypes = [
"udp",
"dns",
"ssl",
- // FIXME: remove this after the migration
- "other",
] as const;
diff --git a/temp/main.go b/temp/main.go
deleted file mode 100644
index fedf64738..000000000
--- a/temp/main.go
+++ /dev/null
@@ -1,16 +0,0 @@
-package main
-
-import "fmt"
-
-type Person struct {
- Test int
- Other string
-}
-
-func HelloVet() {
- fmt.Println("Hello Vet")
-
- return
-
- fmt.Println("This line will never be executed")
-}