mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
Fix log string concat in session_util.go (#13552)
Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
This commit is contained in:
parent
98c0a76f04
commit
081e1a6b06
@ -197,7 +197,7 @@ func (s *Session) getServerIDWithKey(key string, retryTimes uint) (int64, error)
|
||||
// it is false. Otherwise, set it to true.
|
||||
func (s *Session) registerService() (<-chan *clientv3.LeaseKeepAliveResponse, error) {
|
||||
var ch <-chan *clientv3.LeaseKeepAliveResponse
|
||||
log.Debug("Session Register Begin " + s.ServerName)
|
||||
log.Debug("Session Register Begin", zap.String("ServerName", s.ServerName))
|
||||
registerFn := func() error {
|
||||
resp, err := s.etcdCli.Grant(s.ctx, DefaultTTL)
|
||||
if err != nil {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user