diff --git a/api/desc/schedule/pcm-schedule.api b/api/desc/schedule/pcm-schedule.api index 8b6b2dd0..d3537c1c 100644 --- a/api/desc/schedule/pcm-schedule.api +++ b/api/desc/schedule/pcm-schedule.api @@ -19,6 +19,7 @@ type ( ScheduleResult { ClusterId string `json:"clusterId"` TaskId string `json:"taskId"` + Strategy string `json:"strategy"` Replica int32 `json:"replica"` Msg string `json:"msg"` } diff --git a/api/internal/types/types.go b/api/internal/types/types.go index 9fdcc9df..053c6d57 100644 --- a/api/internal/types/types.go +++ b/api/internal/types/types.go @@ -5289,6 +5289,7 @@ type ScheduleResp struct { type ScheduleResult struct { ClusterId string `json:"clusterId"` TaskId string `json:"taskId"` + Strategy string `json:"strategy"` Replica int32 `json:"replica"` Msg string `json:"msg"` }