Fix debug typos in sesion_util (#8020)

Signed-off-by: NotRyan <ryan.chan@zilliz.com>

Co-authored-by: NotRyan <ryan.chan@zilliz.com>
pull/8436/head
NotRyan 2021-09-23 06:54:03 -07:00 committed by GitHub
parent 7ba18a7653
commit e3d3834243
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ func NewSession(ctx context.Context, metaRoot string, etcdEndpoints []string) *S
zap.Error(err))
return nil
}
log.Debug("Sessiont connect to etcd success")
log.Debug("Session connect to etcd success")
return session
}
@ -148,7 +148,7 @@ func (s *Session) getServerIDWithKey(key string, retryTimes uint) (int64, error)
}
if !txnResp.Succeeded {
log.Debug("Session Txn unsuccess", zap.String("key", key))
log.Debug("Session Txn unsuccessful", zap.String("key", key))
continue
}
log.Debug("Session get serverID success")