Skip to content

Commit

Permalink
add updateBy
Browse files Browse the repository at this point in the history
Signed-off-by: lou <[email protected]>
  • Loading branch information
27149chen committed Nov 17, 2021
1 parent a4288ab commit 0d1ac78
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ type Workflow struct {
ProjectName string `json:"projectName"`
UpdateTime int64 `json:"updateTime"`
CreateTime int64 `json:"createTime"`
UpdateBy string `json:"updateBy,omitempty"`
Schedules *commonmodels.ScheduleCtrl `json:"schedules,omitempty"`
SchedulerEnabled bool `json:"schedulerEnabled"`
EnabledStages []string `json:"enabledStages"`
Expand Down Expand Up @@ -527,6 +528,7 @@ func ListWorkflows(projects []string, userID string, log *zap.SugaredLogger) ([]
ProjectName: w.ProductTmplName,
UpdateTime: w.UpdateTime,
CreateTime: w.CreateTime,
UpdateBy: w.UpdateBy,
SchedulerEnabled: w.ScheduleEnabled,
Schedules: w.Schedules,
EnabledStages: stages,
Expand Down

0 comments on commit 0d1ac78

Please sign in to comment.