diff --git a/internal/datacoord/segment_info.go b/internal/datacoord/segment_info.go index 55609f5520..40684fa050 100644 --- a/internal/datacoord/segment_info.go +++ b/internal/datacoord/segment_info.go @@ -52,8 +52,8 @@ func NewSegmentInfo(info *datapb.SegmentInfo) *SegmentInfo { } } -// NewSegmentsInfo create `SegmentsInfo` instance, which makes sure internal map is initialized -// note that no mutex is wrapper so external concurrent control is needed +// NewSegmentsInfo creates a `SegmentsInfo` instance, which makes sure internal map is initialized +// note that no mutex is wrapped so external concurrent control is needed func NewSegmentsInfo() *SegmentsInfo { return &SegmentsInfo{segments: make(map[UniqueID]*SegmentInfo)} }