Skip to content

Commit dc71835

Browse files
authored
feat: make execution_graph.stages() public (#1256)
* make stages() from execute graph public * add rust doc to exposed public method
1 parent b4b8ae0 commit dc71835

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ballista/scheduler/src/state/execution_graph.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,8 @@ impl ExecutionGraph {
218218
new_tid
219219
}
220220

221-
pub(crate) fn stages(&self) -> &HashMap<usize, ExecutionStage> {
221+
/// Exposes executions stages and stage id's
222+
pub fn stages(&self) -> &HashMap<usize, ExecutionStage> {
222223
&self.stages
223224
}
224225

0 commit comments

Comments
 (0)