From c8f2161fac0b2c1026e52d78e0fcbcfce4ba40dc Mon Sep 17 00:00:00 2001 From: CooooolFrog Date: Mon, 3 Jul 2023 15:03:56 +0800 Subject: [PATCH] refactor: refactor by cr --- server/coordinator/scheduler/static_topology_shard_scheduler.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/coordinator/scheduler/static_topology_shard_scheduler.go b/server/coordinator/scheduler/static_topology_shard_scheduler.go index cc1867eb..d8375e51 100644 --- a/server/coordinator/scheduler/static_topology_shard_scheduler.go +++ b/server/coordinator/scheduler/static_topology_shard_scheduler.go @@ -74,7 +74,7 @@ func (s *StaticTopologyShardScheduler) Schedule(ctx context.Context, clusterSnap return ScheduleResult{}, err } procedures = append(procedures, p) - reasons.WriteString(fmt.Sprintf("Cluster initialization, shard:%d is assigned to node:%s \n", shardNode.ID, node.Node.Name)) + reasons.WriteString(fmt.Sprintf("Cluster initialization, shard:%d is assigned to node:%s. ", shardNode.ID, node.Node.Name)) } } }