simplify processing check up

This commit is contained in:
mr
2024-08-29 09:34:10 +02:00
parent 3cb536d2e3
commit 6e732e3eac
3 changed files with 11 additions and 14 deletions

View File

@@ -46,7 +46,7 @@ func (w *WorflowDB) ExportToArgo(timeout int) (string, error) {
return "", fmt.Errorf("can't export a graph that has not been loaded yet")
}
argo_builder := ArgoBuilder{graph: *w.Workflow.Graph, Timeout: timeout}
argo_builder := ArgoBuilder{OriginWorkflow: *w.Workflow, Timeout: timeout}
filename, err := argo_builder.CreateDAG()
if err != nil {
logger.Error().Msg("Could not create the argo file for " + w.Workflow.Name)