Skip to content

Commit c6b73e6

Browse files
committed
chore: fmt
1 parent d7cb3db commit c6b73e6

3 files changed

Lines changed: 9 additions & 3 deletions

File tree

ballista/scheduler/src/state/aqe/mod.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -919,7 +919,9 @@ impl ExecutionGraph for AdaptiveExecutionGraph {
919919

920920
/// Return all currently running tasks along with the executor ID on which they are assigned
921921
fn running_tasks(&self) -> Vec<RunningTaskInfo> {
922-
self.stages.values().flat_map(|stage| {
922+
self.stages
923+
.values()
924+
.flat_map(|stage| {
923925
if let ExecutionStage::Running(stage) = stage {
924926
stage
925927
.running_tasks()

ballista/scheduler/src/state/execution_graph.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1319,7 +1319,9 @@ impl ExecutionGraph for StaticExecutionGraph {
13191319

13201320
/// Return all currently running tasks along with the executor ID on which they are assigned
13211321
fn running_tasks(&self) -> Vec<RunningTaskInfo> {
1322-
self.stages.values().flat_map(|stage| {
1322+
self.stages
1323+
.values()
1324+
.flat_map(|stage| {
13231325
if let ExecutionStage::Running(stage) = stage {
13241326
stage
13251327
.running_tasks()

ballista/scheduler/src/state/executor_manager.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,9 @@ impl ExecutorManager {
438438
get_time_before(self.config.executor_termination_grace_period);
439439

440440
self.cluster_state
441-
.executor_heartbeats().values().filter_map(|heartbeat| {
441+
.executor_heartbeats()
442+
.values()
443+
.filter_map(|heartbeat| {
442444
let terminating = matches!(
443445
heartbeat
444446
.status

0 commit comments

Comments
 (0)