Skip to content

Commit

Permalink
workflow (koderover#693)
Browse files Browse the repository at this point in the history
Signed-off-by: mouuii <chaoyueshijian@gmail.com>
  • Loading branch information
mouuii authored Dec 8, 2021
1 parent 8eaf618 commit 8c79d67
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ type Workflow struct {
RecentFailedTask *TaskInfo `json:"recentFailedTask"`
AverageExecutionTime float64 `json:"averageExecutionTime"`
SuccessRate float64 `json:"successRate"`
Description string `json:"description,omitempty"`
}

type TaskInfo struct {
Expand Down Expand Up @@ -538,6 +539,7 @@ func ListWorkflows(projects []string, userID string, log *zap.SugaredLogger) ([]
SchedulerEnabled: w.ScheduleEnabled,
Schedules: w.Schedules,
EnabledStages: stages,
Description: w.Description,
})

workflowNames = append(workflowNames, w.Name)
Expand Down

0 comments on commit 8c79d67

Please sign in to comment.