You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by pa...@apache.org on 2026/03/27 13:22:54 UTC
(flink) 01/02: [hotfix][runtime-web] Polish the checkpoint related variables naming
This is an automated email from the ASF dual-hosted git repository.
panyuepeng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git
commit 85fcd049b030c9f92f3cfb7fd92a88c3d80c2353
Author: och5351 <dh...@gmail.com>
AuthorDate: Fri Mar 27 18:10:21 2026 +0900
[hotfix][runtime-web] Polish the checkpoint related variables naming
Co-authored-by: Yuepeng Pan <hi...@gmail.com>
Co-authored-by: Matthias Pohl <mp...@confluent.io>
---
.../src/app/pages/job/job-detail/status/job-status.component.ts | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/flink-runtime-web/web-dashboard/src/app/pages/job/job-detail/status/job-status.component.ts b/flink-runtime-web/web-dashboard/src/app/pages/job/job-detail/status/job-status.component.ts
index 8d7ded6d298..17e958a816f 100644
--- a/flink-runtime-web/web-dashboard/src/app/pages/job/job-detail/status/job-status.component.ts
+++ b/flink-runtime-web/web-dashboard/src/app/pages/job/job-detail/status/job-status.component.ts
@@ -128,14 +128,14 @@ export class JobStatusComponent implements OnInit, OnDestroy {
private handleJobDetailChanged(data: JobDetailCorrect): void {
this.jobDetail = data;
- const index = this.checkpointIndexOfNav();
- if (data.plan.type == 'STREAMING' && index == -1) {
+ const checkpointNavIndex = this.checkpointIndexOfNav();
+ if (data.plan.type == 'STREAMING' && checkpointNavIndex == -1) {
this.listOfNavigation.splice(this.checkpointIndexOfNavigation, 0, {
path: 'checkpoints',
title: 'Checkpoints'
});
- } else if (data.plan.type == 'BATCH' && index > -1) {
- this.listOfNavigation.splice(index, 1);
+ } else if (data.plan.type == 'BATCH' && checkpointNavIndex > -1) {
+ this.listOfNavigation.splice(checkpointNavIndex, 1);
}
this.cdr.markForCheck();
}