Browse Source

schedule situation

Former-commit-id: ce8a129089
pull/133/head
zhangwei 1 year ago
parent
commit
8078d94e35
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      api/desc/pcm.api
  2. +1
    -1
      api/internal/handler/routes.go

+ 1
- 1
api/desc/pcm.api View File

@@ -1021,7 +1021,7 @@ service pcm {


@doc "Synchronize Cluster alert Information" @doc "Synchronize Cluster alert Information"
@handler syncClusterAlertHandler @handler syncClusterAlertHandler
post /core/syncClusterAlert (SyncClusterAlertReq)
post /monitoring/syncClusterAlert (SyncClusterAlertReq)


@handler taskNumHandler @handler taskNumHandler
get /monitoring/task/num (taskNumReq) returns (taskNumResp) get /monitoring/task/num (taskNumReq) returns (taskNumResp)


+ 1
- 1
api/internal/handler/routes.go View File

@@ -1284,7 +1284,7 @@ func RegisterHandlers(server *rest.Server, serverCtx *svc.ServiceContext) {
}, },
{ {
Method: http.MethodPost, Method: http.MethodPost,
Path: "/core/syncClusterAlert",
Path: "/monitoring/syncClusterAlert",
Handler: monitoring.SyncClusterAlertHandler(serverCtx), Handler: monitoring.SyncClusterAlertHandler(serverCtx),
}, },
{ {


Loading…
Cancel
Save