Skip to content

Commit

Permalink
Omit subdag in dag definition for foreach node
Browse files Browse the repository at this point in the history
Signed-off-by: Swarvanu Sengupta <swarvanusg@gmail.com>
  • Loading branch information
s8sg committed Jun 17, 2019
1 parent 7f9fa94 commit 19124d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sdk/exporter.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func exportNode(exportNode *NodeExporter, node *Node) {
if node.subAggregator != nil {
exportNode.HasSubAggregator = true
}
if node.subDag != nil {
if node.subDag != nil && !node.dynamic {
exportNode.HasSubDag = true
exportNode.SubDag = &DagExporter{}
exportDag(exportNode.SubDag, node.subDag)
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 19124d3

Please sign in to comment.