From b7f98be627a2e16b16db2cff17b45c7e208359bd Mon Sep 17 00:00:00 2001 From: nhsmw Date: Fri, 6 Sep 2024 14:19:17 +0800 Subject: [PATCH] scheduler(ticdc): modify scheduler monitoring (#11567) close pingcap/tiflow#11562 --- cdc/scheduler/internal/v3/replication/replication_set.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cdc/scheduler/internal/v3/replication/replication_set.go b/cdc/scheduler/internal/v3/replication/replication_set.go index 1012db5e58c..f3662cf4193 100644 --- a/cdc/scheduler/internal/v3/replication/replication_set.go +++ b/cdc/scheduler/internal/v3/replication/replication_set.go @@ -81,7 +81,7 @@ func (r ReplicationSetState) String() string { case ReplicationSetStateRemoving: return "Removing" default: - return fmt.Sprintf("Unknown %d", r) + return "Unknown" } }