fixed dependencies' rertieving

This commit is contained in:
pb 2024-08-29 12:08:57 +02:00
parent 103f1b4cb0
commit ea7c7d3dee

View File

@ -160,7 +160,7 @@ func (b *ArgoBuilder) createNginxVolumes() {
func (b *ArgoBuilder) getDependency(current_computing_id string) (dependencies []string) {
for _, link := range b.OriginWorkflow.Graph.Links {
if !b.IsProcessing(link.Source.ID) {
if b.OriginWorkflow.Graph.Items[link.Source.ID].Processing == nil {
continue
}
source := b.OriginWorkflow.Graph.Items[link.Source.ID].Processing