Change error message to lower case (#7890)

Signed-off-by: sunby <bingyi.sun@zilliz.com>
pull/7912/head
sunby 2021-09-14 17:33:48 +08:00 committed by GitHub
parent bcf535d86b
commit eed856d626
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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)
}