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