fix ToWorkflowExecution
This commit is contained in:
parent
fe78927e73
commit
6df71bde1d
@ -195,7 +195,7 @@ func (l *LibData) ToWorkspace() *workspace.Workspace {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
func (l *LibData) ToWorkflowExecution() *workflow_execution.WorkflowExecution {
|
func (l *LibData) ToWorkflowExecution() *workflow_execution.WorkflowExecution {
|
||||||
if l.Data.GetAccessor().GetType() == utils.WORKSPACE.String() {
|
if l.Data.GetAccessor().GetType() == utils.WORKFLOW_EXECUTION.String() {
|
||||||
return l.Data.(*workflow_execution.WorkflowExecution)
|
return l.Data.(*workflow_execution.WorkflowExecution)
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
|
Loading…
Reference in New Issue
Block a user