From eeedbafe412903f9ba9b8ddef63969092c15f49c Mon Sep 17 00:00:00 2001 From: dongmen <414110582@qq.com> Date: Thu, 23 Nov 2023 14:51:10 +0800 Subject: [PATCH] fix fmt error --- cdc/model/changefeed.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cdc/model/changefeed.go b/cdc/model/changefeed.go index b919e668bd2..c8330db49b2 100644 --- a/cdc/model/changefeed.go +++ b/cdc/model/changefeed.go @@ -589,6 +589,7 @@ func (info *ChangeFeedInfo) DownstreamType() (DownstreamType, error) { return Unknown, nil } +// NeedSendBootstrapEvent returns true if the changefeed need to send bootstrap event. func (info *ChangeFeedInfo) NeedSendBootstrapEvent() (bool, error) { downStreamType, err := info.DownstreamType() if err != nil {