mirror of https://github.com/milvus-io/milvus.git
[skip ci]Modify comment for SetState (#9141)
Signed-off-by: sunby <bingyi.sun@zilliz.com>pull/9143/head
parent
94af9ec47d
commit
c54599ae6f
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue