Skip to content

Commit

Permalink
fix: combine builtin node check
Browse files Browse the repository at this point in the history
  • Loading branch information
plyr4 committed Oct 30, 2023
1 parent 8fd12e2 commit f8e4e3f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions api/build/graph.go
Original file line number Diff line number Diff line change
Expand Up @@ -456,11 +456,8 @@ func GetBuildGraph(c *gin.Context) {
}

// skip normal processing for built-in nodes
if destinationNode.Cluster == BuiltInCluster {
continue
}

if sourceNode.Cluster == BuiltInCluster {
if destinationNode.Cluster == BuiltInCluster ||
sourceNode.Cluster == BuiltInCluster {
continue
}

Expand Down

0 comments on commit f8e4e3f

Please sign in to comment.