Skip to content

Commit

Permalink
[Improve] check tracking minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfboys committed Sep 29, 2024
1 parent e523013 commit c73fa8d
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,6 @@ public class AppControl {

/** allow to build the application */
private boolean allowBuild;

private boolean allowView;
}
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,13 @@ private AppControl getAppControl(FlinkApplication record) {
!record.shouldTracking()
&& PipelineStatusEnum.success.getCode()
.equals(record.getBuildStatus()))
.setAllowStop(record.isRunning());
.setAllowStop(record.isRunning())
.setAllowView(appShouldBeTrack(record));

}

private boolean appShouldBeTrack(FlinkApplication record) {
return false;
}

@Override
Expand Down

0 comments on commit c73fa8d

Please sign in to comment.