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), }, {