Skip to content

Commit

Permalink
Merge branch 'master' into plan-cache-diag
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Dec 1, 2022
2 parents 9f867cc + 213187c commit 0606383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/http_status.go
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ func (s *Server) startStatusServerAndRPCServer(serverMux *http.ServeMux) {
logutil.BgLogger().Error("tikv store not etcd background", zap.Error(err))
break
}
selfAddr := s.statusListener.Addr().String()
selfAddr := s.cfg.AdvertiseAddress
service := autoid.New(selfAddr, etcdAddr, store, ebd.TLSConfig())
logutil.BgLogger().Info("register auto service at", zap.String("addr", selfAddr))
pb.RegisterAutoIDAllocServer(grpcServer, service)
Expand Down

0 comments on commit 0606383

Please sign in to comment.