fixing cron dependancies
This commit is contained in:
@@ -115,7 +115,7 @@ func (wfa *workflowMongoAccessor) execution(id string, realData *Workflow, delet
|
||||
}
|
||||
accessor := (&workflow_execution.WorkflowExecution{}).GetAccessor()
|
||||
execs, err := wfa.getExecutions(id, realData)
|
||||
if err != nil && len(execs) > 0 {
|
||||
if err == nil && len(execs) > 0 {
|
||||
for _, obj := range execs {
|
||||
accessor.StoreOne(obj)
|
||||
}
|
||||
|
Reference in New Issue
Block a user