Remove log string concat in root_coord.go (#12932)

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
pull/12893/head
congqixia 2021-12-08 14:23:05 +08:00 committed by GitHub
parent 1195f441b2
commit c289a19fb8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -449,7 +449,7 @@ func (c *Core) setMsgStreams() error {
}
timeTickStream, _ := c.msFactory.NewMsgStream(c.ctx)
timeTickStream.AsProducer([]string{Params.TimeTickChannel})
log.Debug("rootcoord AsProducer: " + Params.TimeTickChannel)
log.Debug("RootCoord register timetick producer success", zap.String("channel name", Params.TimeTickChannel))
c.SendTimeTick = func(t typeutil.Timestamp, reason string) error {
msgPack := ms.MsgPack{}
@ -1181,7 +1181,7 @@ func (c *Core) Start() error {
Params.UpdatedTime = time.Now()
c.UpdateStateCode(internalpb.StateCode_Healthy)
log.Debug(typeutil.RootCoordRole+" start successfully ", zap.String("State Code", internalpb.StateCode_name[int32(internalpb.StateCode_Healthy)]))
log.Debug("RootCoord start successfully ", zap.String("State Code", internalpb.StateCode_Healthy.String()))
})
return nil