mirror of https://github.com/milvus-io/milvus.git
Change error message to lower case (#7890)
Signed-off-by: sunby <bingyi.sun@zilliz.com>pull/7912/head
parent
bcf535d86b
commit
eed856d626
|
@ -321,7 +321,7 @@ func (s *SegmentManager) openNewSegment(ctx context.Context, collectionID Unique
|
|||
func (s *SegmentManager) estimateMaxNumOfRows(collectionID UniqueID) (int, error) {
|
||||
collMeta := s.meta.GetCollection(collectionID)
|
||||
if collMeta == nil {
|
||||
return -1, fmt.Errorf("Failed to get collection %d", collectionID)
|
||||
return -1, fmt.Errorf("failed to get collection %d", collectionID)
|
||||
}
|
||||
return s.estimatePolicy(collMeta.Schema)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue