Skip to content

Commit

Permalink
[FLINK-34210][Runtime/Checkpointing] Fix DefaultExecutionGraphBuilder…
Browse files Browse the repository at this point in the history
…#isCheckpointingEnabled return wrong value when checkpoint disabled
  • Loading branch information
mayuehappy committed Jan 24, 2024
1 parent 551bb9e commit ee2d9ee
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ public static DefaultExecutionGraph buildGraph(
}

public static boolean isCheckpointingEnabled(JobGraph jobGraph) {
return jobGraph.getCheckpointingSettings() != null;
return jobGraph.isCheckpointingEnabled();
}

// ------------------------------------------------------------------------
Expand Down

0 comments on commit ee2d9ee

Please sign in to comment.