neo oc-lib

This commit is contained in:
mr
2025-02-06 08:55:28 +01:00
parent a0b1117075
commit df6e3d5a46
4 changed files with 9 additions and 1 deletions

View File

@@ -292,6 +292,10 @@ func (b *ArgoBuilder) isArgoDependancy(id string) (bool, []string) {
dependancyOfIDs := []string{}
isDeps := false
for _, link := range b.OriginWorkflow.Graph.Links {
if _, ok := b.OriginWorkflow.Graph.Items[link.Destination.ID]; !ok {
fmt.Println("Could not find the source of the link", link.Destination.ID)
continue
}
source := b.OriginWorkflow.Graph.Items[link.Destination.ID].Processing
if id == link.Source.ID && source != nil {
isDeps = true