mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-01 03:18:29 +08:00
Fix an error message (#20403)
Signed-off-by: yhmo <yihua.mo@zilliz.com> Signed-off-by: yhmo <yihua.mo@zilliz.com>
This commit is contained in:
parent
e5419b3bc7
commit
39a6397043
@ -741,8 +741,10 @@ func (mt *MetaTable) GetPartitionByName(collID UniqueID, partitionName string, t
|
||||
}
|
||||
}
|
||||
|
||||
return common.InvalidPartitionID, fmt.Errorf("partition ID not found for partition name %s in collection %d",
|
||||
partitionName, collID)
|
||||
log.Error("partition ID not found for partition name", zap.String("partitionName", partitionName),
|
||||
zap.Int64("collectionID", collID), zap.String("collectionName", coll.Name))
|
||||
return common.InvalidPartitionID, fmt.Errorf("partition ID not found for partition name '%s' in collection '%s'",
|
||||
partitionName, coll.Name)
|
||||
}
|
||||
|
||||
// AddCredential add credential
|
||||
|
Loading…
Reference in New Issue
Block a user