Skip to content

Commit

Permalink
fix e2e
Browse files Browse the repository at this point in the history
Signed-off-by: liubo02 <[email protected]>
  • Loading branch information
liubog2008 committed Jan 3, 2025
1 parent cf72e83 commit c56ad48
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/controllers/tidbgroup/tasks/updater.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const (
defaultUpdateWaitTime = time.Second * 30
)

// TaskUpdater is a task to scale or update PD when spec of TiDBGroup is changed.
// TaskUpdater is a task to scale or update TiDB when spec of TiDBGroup is changed.
func TaskUpdater(state *ReconcileContext, c client.Client) task.Task {
return task.NameTaskFunc("Updater", func(ctx context.Context) task.Result {
logger := logr.FromContextOrDiscard(ctx)
Expand All @@ -50,7 +50,7 @@ func TaskUpdater(state *ReconcileContext, c client.Client) task.Task {
selector := labels.SelectorFromSet(labels.Set{
// TODO(liubo02): add label of managed by operator ?
v1alpha1.LabelKeyCluster: dbg.Spec.Cluster.Name,
v1alpha1.LabelKeyComponent: v1alpha1.LabelValComponentPD,
v1alpha1.LabelKeyComponent: v1alpha1.LabelValComponentTiDB,
v1alpha1.LabelKeyGroup: dbg.Name,
})

Expand Down

0 comments on commit c56ad48

Please sign in to comment.