mirror of https://github.com/milvus-io/milvus.git
Improve error message in rootcoord (#10875)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>pull/10875/merge
parent
1835a7cb0c
commit
07818ec26a
|
@ -243,7 +243,7 @@ func (mt *MetaTable) AddTenant(te *pb.TenantMeta, ts typeutil.Timestamp) error {
|
||||||
k := fmt.Sprintf("%s/%d", TenantMetaPrefix, te.ID)
|
k := fmt.Sprintf("%s/%d", TenantMetaPrefix, te.ID)
|
||||||
v, err := proto.Marshal(te)
|
v, err := proto.Marshal(te)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Error("AddTenant Marshal fail", zap.Error(err))
|
log.Error("Failed to marshal TenantMeta in AddTenant", zap.Error(err))
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue