From 8078d94e35d774c6c9fa0bd8d34ee5ff590a0006 Mon Sep 17 00:00:00 2001 From: zhangwei <894646498@qq.com> Date: Tue, 30 Apr 2024 17:28:29 +0800 Subject: [PATCH] schedule situation Former-commit-id: ce8a1290894d1e17f1e46c254c53c2e383d232dd --- api/desc/pcm.api | 2 +- api/internal/handler/routes.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/api/desc/pcm.api b/api/desc/pcm.api index ba3c525d..a124833c 100644 --- a/api/desc/pcm.api +++ b/api/desc/pcm.api @@ -1021,7 +1021,7 @@ service pcm { @doc "Synchronize Cluster alert Information" @handler syncClusterAlertHandler - post /core/syncClusterAlert (SyncClusterAlertReq) + post /monitoring/syncClusterAlert (SyncClusterAlertReq) @handler taskNumHandler get /monitoring/task/num (taskNumReq) returns (taskNumResp) diff --git a/api/internal/handler/routes.go b/api/internal/handler/routes.go index f32fa672..f72ac4f9 100644 --- a/api/internal/handler/routes.go +++ b/api/internal/handler/routes.go @@ -1284,7 +1284,7 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) { }, { Method: http.MethodPost, - Path: "/core/syncClusterAlert", + Path: "/monitoring/syncClusterAlert", Handler: monitoring.SyncClusterAlertHandler(serverCtx), }, {