typo
This commit is contained in:
parent
4a3707efcf
commit
4a9465f729
@ -36,7 +36,7 @@ func (wfa *workflowMongoAccessor) getExecutions(id string, data *Workflow) ([]*w
|
||||
}
|
||||
if len(data.Schedule.Cron) > 0 {
|
||||
if data.Schedule.End == nil {
|
||||
return workflows_execution, errors.New("a cron task should got a end date.")
|
||||
return workflows_execution, errors.New("a cron task should have an end date.")
|
||||
}
|
||||
cronStr := strings.Split(data.Schedule.Cron, " ")
|
||||
if len(cronStr) < 6 {
|
||||
|
Loading…
Reference in New Issue
Block a user