[skip ci]Fix segment info typo (#13643)

Signed-off-by: godchen0212 <qingxiang.chen@zilliz.com>
pull/13821/head
godchen 2021-12-21 09:19:53 +08:00 committed by GitHub
parent d59647bb3f
commit c1cb69ed7e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -285,7 +285,7 @@ func SetFlushTime(t time.Time) SegmentInfoOption {
}
}
// SetIsCompacting is the option to set compacton state for segment info
// SetIsCompacting is the option to set compaction state for segment info
func SetIsCompacting(isCompacting bool) SegmentInfoOption {
return func(segment *SegmentInfo) {
segment.isCompacting = isCompacting