[skip ci]Add comment for SetStartPosition (#9399)

Signed-off-by: sunby <bingyi.sun@zilliz.com>
pull/9412/head
sunby 2021-10-07 17:59:31 +08:00 committed by GitHub
parent d5081783c3
commit ad15e786cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -214,6 +214,7 @@ func SetDmlPosition(pos *internalpb.MsgPosition) SegmentInfoOption {
}
}
// SetStartPosition is the option to set start position for segment info
func SetStartPosition(pos *internalpb.MsgPosition) SegmentInfoOption {
return func(segment *SegmentInfo) {
segment.StartPosition = pos