Skip to content

Commit

Permalink
fix make check
Browse files Browse the repository at this point in the history
  • Loading branch information
asddongmen committed Feb 7, 2024
1 parent f4bfdc7 commit 3705923
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cdc/kv/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -1393,7 +1393,7 @@ func (s *eventFeedSession) sendResolvedTs(

// addStream adds a stream to the session.streams.
// Note: It must be called with deleteStream in a same goroutine.
func (s *eventFeedSession) addStream(stream *eventFeedStream) error {
func (s *eventFeedSession) addStream(stream *eventFeedStream) {
oldStream, ok := s.storeStreamsCache[stream.addr]
if ok {
failpoint.Inject("kvClientAddDuplicatedStream", func() {
Expand All @@ -1417,7 +1417,6 @@ func (s *eventFeedSession) addStream(stream *eventFeedStream) error {
zap.Uint64("newStreamID", stream.id))

Check warning on line 1417 in cdc/kv/client.go

View check run for this annotation

Codecov / codecov/patch

cdc/kv/client.go#L1410-L1417

Added lines #L1410 - L1417 were not covered by tests
}
s.storeStreamsCache[stream.addr] = stream
return nil
}

// deleteStream deletes a stream from the session.streams.
Expand Down

0 comments on commit 3705923

Please sign in to comment.