Skip to content

Commit

Permalink
Adding publicIp sample, only mark sub-DAGs as non-prepare - the root …
Browse files Browse the repository at this point in the history
…DAG stay as preparer
  • Loading branch information
anuchandy committed Jun 25, 2016
1 parent 1d5e9c1 commit cf2fdb5
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,10 @@ public void prepare() {
for (U node : graph.values()) {
// Prepare each node for traversal
node.initialize();
// Mark other sub-DAGs are non-preparer
node.setPreparer(false);
if (!this.isRootNode(node)) {
// Mark other sub-DAGs as non-preparer
node.setPreparer(false);
}
}
initializeDependentKeys();
initializeQueue();
Expand Down

0 comments on commit cf2fdb5

Please sign in to comment.