Skip to content

Commit

Permalink
remove ClusterIP set when syncing TiDB headless service
Browse files Browse the repository at this point in the history
  • Loading branch information
LinuxGit committed Apr 28, 2019
1 parent 1f7d5db commit 15d4b96
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pkg/manager/member/tidb_member_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,6 @@ func (tmm *tidbMemberManager) syncTiDBHeadlessServiceForTidbCluster(tc *v1alpha1
if !equal {
svc := *oldSvc
svc.Spec = newSvc.Spec
// TODO add unit test
svc.Spec.ClusterIP = oldSvc.Spec.ClusterIP
err = SetServiceLastAppliedConfigAnnotation(newSvc)
if err != nil {
return err
Expand Down

0 comments on commit 15d4b96

Please sign in to comment.