From aba9aa450d52545b88dbe706974a94fe38fb3f4a Mon Sep 17 00:00:00 2001 From: sunby Date: Mon, 11 Oct 2021 21:06:37 +0800 Subject: [PATCH] [skip ci]Add comment for SetFlushTime (#9668) Signed-off-by: sunby --- internal/datacoord/segment_info.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/datacoord/segment_info.go b/internal/datacoord/segment_info.go index 0fa9bdc339..f24150ccf1 100644 --- a/internal/datacoord/segment_info.go +++ b/internal/datacoord/segment_info.go @@ -253,6 +253,7 @@ func SetBinlogs(binlogs []*datapb.FieldBinlog) SegmentInfoOption { } } +// SetFlushTime is the option to set flush time for segment info func SetFlushTime(t time.Time) SegmentInfoOption { return func(segment *SegmentInfo) { segment.lastFlushTime = t