Skip to content

Commit ff92a84

Browse files
committed
Update group_clusters.go
Signed-off-by: LavredisG <[email protected]>
1 parent 6795dba commit ff92a84

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/scheduler/core/spreadconstraint/group_clusters.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ func (info *GroupClustersInfo) calcGroupScore(
265265
// Here is an example, the rbSpec.Replicas == 100 and the Group.minGroups == 2, Cluster.minGroups == 1.
266266
// Thus, the targetReplica is 50, and the int64ClusterMinGroups == 2, because int64ClusterMinGroups == max(Group.minGroups, Cluster.minGroups).
267267

268-
// There is the Group 1, it has three clusters as follows.
268+
// There is the Group 1, it has five clusters as follows.
269269
// ----------------------------------------------------------------------
270270
// | clusterName | member1 | member2 | member3 | member4 | member5 |
271271
// |---------------------------------------------------------------------
@@ -294,7 +294,7 @@ func (info *GroupClustersInfo) calcGroupScore(
294294
// There is another example, the targetReplica is 50, and the int64ClusterMinGroups == 2.
295295
// The difference now is the situation of the Groups; both Groups now meet the requirements for available replica capacity.
296296

297-
// There is the Group 1, it has three clusters as follows.
297+
// There is the Group 1, it has five clusters as follows.
298298
// ----------------------------------------------------------------------
299299
// | clusterName | member1 | member2 | member3 | member4 | member5 |
300300
// |---------------------------------------------------------------------

0 commit comments

Comments
 (0)