implement remote call for remote action
This commit is contained in:
parent
92516e20ab
commit
6fe862a9b5
@ -82,6 +82,9 @@ func (wfa *workflowMongoAccessor) DeleteOne(id string) (utils.DBObject, int, err
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (wfa *workflowMongoAccessor) book(id string, realData *Workflow, execs []*workflow_execution.WorkflowExecution) error {
|
func (wfa *workflowMongoAccessor) book(id string, realData *Workflow, execs []*workflow_execution.WorkflowExecution) error {
|
||||||
|
if wfa.Caller == nil {
|
||||||
|
return errors.New("no caller defined")
|
||||||
|
}
|
||||||
if realData.Schedule == nil {
|
if realData.Schedule == nil {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user