Skip to content

Commit 6e82cc8

Browse files
authored
Merge pull request #44742 from AdrianoDee/patch-10
Fix for `EndPath`s in `DependecyGraph`
2 parents a8c349a + fe309a5 commit 6e82cc8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

FWCore/Services/plugins/DependencyGraph.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -295,8 +295,8 @@ void DependencyGraph::preBeginJob(PathsAndConsumesOfModulesBase const &pathsAndC
295295
auto &graph = m_graph.create_subgraph();
296296

297297
// set the subgraph name property to the EndPath name
298-
boost::get_property(graph, boost::graph_name) = paths[i];
299-
boost::get_property(graph, boost::graph_graph_attribute)["label"] = "EndPath " + paths[i];
298+
boost::get_property(graph, boost::graph_name) = endps[i];
299+
boost::get_property(graph, boost::graph_graph_attribute)["label"] = "EndPath " + endps[i];
300300
boost::get_property(graph, boost::graph_graph_attribute)["labelloc"] = "bottom";
301301

302302
// add to the subgraph the node corresponding to the scheduled modules on the EndPath

0 commit comments

Comments
 (0)