Skip to content

Commit

Permalink
mysqlcluster: fix the error for pod's label no change radondb#534
Browse files Browse the repository at this point in the history
  • Loading branch information
acekingke committed Jun 16, 2022
1 parent 78dcfe1 commit e12ccdb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mysqlcluster/syncer/status.go
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ func (s *StatusSyncer) Sync(ctx context.Context) (syncer.SyncResult, error) {
}

// Update ready nodes' status.
return syncer.SyncResult{}, s.updateNodeStatus(ctx, s.cli, readyNodes)
return syncer.SyncResult{}, s.updateNodeStatus(ctx, s.cli, list.Items)
}

// updateClusterStatus update the cluster status and returns condition.
Expand Down

0 comments on commit e12ccdb

Please sign in to comment.