Skip to content

Commit 05a2137

Browse files
authored
feat(router): remove deprecated preheat API endpoints (#4574)
Signed-off-by: Gaius <gaius.qi@gmail.com>
1 parent 17d4c2c commit 05a2137

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

manager/router/router.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -255,13 +255,6 @@ func Init(cfg *config.Config, logDir string, service service.Service, database *
255255
oc.GET(":id", h.GetCluster)
256256
oc.GET("", h.GetClusters)
257257

258-
// TODO Remove this api.
259-
// Compatible with the V1 preheat.
260-
pv1 := r.Group("/preheats")
261-
r.GET("_ping", h.GetHealth)
262-
pv1.POST("", h.CreateV1Preheat)
263-
pv1.GET(":id", h.GetV1Preheat)
264-
265258
// Health Check.
266259
r.GET("/healthy", h.GetHealth)
267260

0 commit comments

Comments
 (0)