[skip e2e] Refine datacoord server comment (#13797)

Signed-off-by: Edward Zeng <jie.zeng@zilliz.com>
pull/13806/head
edward.zeng 2021-12-20 19:54:58 +08:00 committed by GitHub
parent 220941738d
commit 38add97685
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -175,7 +175,7 @@ func SetSegmentManager(manager Manager) Option {
}
}
// CreateServer create `Server` instance
// CreateServer creates a `Server` instance
func CreateServer(ctx context.Context, factory msgstream.Factory, opts ...Option) (*Server, error) {
rand.Seed(time.Now().UnixNano())
s := &Server{
@ -209,7 +209,7 @@ func (s *Server) QuitSignal() <-chan struct{} {
return s.quitCh
}
// Register register data service at etcd
// Register registers data service at etcd
func (s *Server) Register() error {
s.session.Register()
go s.session.LivenessCheck(s.serverLoopCtx, func() {