From 41c0ed784401ec025d4d114072951055252fe78b Mon Sep 17 00:00:00 2001 From: tzwang Date: Thu, 11 Apr 2024 07:21:04 -0400 Subject: [PATCH] updated scheduleResult api Former-commit-id: 13291220187c89f4eaa3f76068b46a870cbcdc32 --- api/desc/schedule/pcm-schedule.api | 1 + api/internal/types/types.go | 1 + 2 files changed, 2 insertions(+) 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"` }