[skip ci]Improve log style (#13007)

Signed-off-by: sunby <bingyi.sun@zilliz.com>

Co-authored-by: sunby <bingyi.sun@zilliz.com>
This commit is contained in:
Bingyi Sun 2021-12-08 20:25:15 +08:00 committed by GitHub
parent 4465d37322
commit 48c5632277
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -406,7 +406,7 @@ func (s *Server) startServerLoop() {
s.startFlushLoop(s.serverLoopCtx)
s.garbageCollector.start()
go s.session.LivenessCheck(s.serverLoopCtx, func() {
log.Error("Data Coord disconnected from etcd, process will exit", zap.Int64("Server Id", s.session.ServerID))
log.Error("DataCoord disconnected from etcd, process will exit", zap.Int64("ServerID", s.session.ServerID))
if err := s.Stop(); err != nil {
log.Fatal("failed to stop server", zap.Error(err))
}