[skip ci]Modify comment for SetState (#9141)

Signed-off-by: sunby <bingyi.sun@zilliz.com>
pull/9143/head
sunby 2021-10-03 17:50:03 +08:00 committed by GitHub
parent 94af9ec47d
commit c54599ae6f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ func (s *SegmentsInfo) SetRowCount(segmentID UniqueID, rowCount int64) {
}
}
// SetStates sets Segment State info for SegmentInfo with provided segmentID
// SetState sets Segment State info for SegmentInfo with provided segmentID
// if SegmentInfo not found, do nothing
func (s *SegmentsInfo) SetState(segmentID UniqueID, state commonpb.SegmentState) {
if segment, ok := s.segments[segmentID]; ok {