未验证 提交 d41cdbb9 编写于 作者: S sunby 提交者: GitHub

[skip ci]Add comment for SetState (#9397)

Signed-off-by: Nsunby <bingyi.sun@zilliz.com>
上级 cc794354
......@@ -200,6 +200,7 @@ func SetExpireTime(expireTs Timestamp) SegmentInfoOption {
}
}
// SetState is the option to set state for segment info
func SetState(state commonpb.SegmentState) SegmentInfoOption {
return func(segment *SegmentInfo) {
segment.State = state
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册