Skip to content

Commit

Permalink
This is an automated cherry-pick of #9894
Browse files Browse the repository at this point in the history
Signed-off-by: ti-chi-bot <[email protected]>
  • Loading branch information
hicqu authored and ti-chi-bot committed Dec 26, 2024
1 parent 46a22f7 commit feea7f6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cdc/sinkv2/eventsink/mq/mq_dml_sink.go
Original file line number Diff line number Diff line change
Expand Up @@ -123,10 +123,14 @@ func newSink(ctx context.Context,

if err != nil {
if errors.Cause(err) == context.Canceled {
<<<<<<< HEAD:cdc/sinkv2/eventsink/mq/mq_dml_sink.go

Check failure on line 126 in cdc/sinkv2/eventsink/mq/mq_dml_sink.go

View workflow job for this annotation

GitHub Actions / Arm Build (ARM64)

syntax error: unexpected <<, expecting }

Check failure on line 126 in cdc/sinkv2/eventsink/mq/mq_dml_sink.go

View workflow job for this annotation

GitHub Actions / Mac OS Build

syntax error: unexpected <<, expecting }
if s.cancelErr == nil {

Check failure on line 127 in cdc/sinkv2/eventsink/mq/mq_dml_sink.go

View workflow job for this annotation

GitHub Actions / Arm Build (ARM64)

syntax error: unexpected if, expecting expression

Check failure on line 127 in cdc/sinkv2/eventsink/mq/mq_dml_sink.go

View workflow job for this annotation

GitHub Actions / Arm Build (ARM64)

expression in go must be function call

Check failure on line 127 in cdc/sinkv2/eventsink/mq/mq_dml_sink.go

View workflow job for this annotation

GitHub Actions / Mac OS Build

syntax error: unexpected if, expecting expression

Check failure on line 127 in cdc/sinkv2/eventsink/mq/mq_dml_sink.go

View workflow job for this annotation

GitHub Actions / Mac OS Build

expression in go must be function call
return
}
err = s.cancelErr
=======

Check failure on line 131 in cdc/sinkv2/eventsink/mq/mq_dml_sink.go

View workflow job for this annotation

GitHub Actions / Arm Build (ARM64)

syntax error: unexpected ==, expecting }

Check failure on line 131 in cdc/sinkv2/eventsink/mq/mq_dml_sink.go

View workflow job for this annotation

GitHub Actions / Mac OS Build

syntax error: unexpected ==, expecting }
err = context.Cause(ctx)
>>>>>>> 0f4a8a1fcb (kafka(ticdc): fix kafka dml sink report error to sink manager (#9879) (#9894)):cdc/sink/dmlsink/mq/mq_dml_sink.go

Check failure on line 133 in cdc/sinkv2/eventsink/mq/mq_dml_sink.go

View workflow job for this annotation

GitHub Actions / Arm Build (ARM64)

syntax error: unexpected >>, expecting }

Check failure on line 133 in cdc/sinkv2/eventsink/mq/mq_dml_sink.go

View workflow job for this annotation

GitHub Actions / Arm Build (ARM64)

invalid character U+0023 '#'

Check failure on line 133 in cdc/sinkv2/eventsink/mq/mq_dml_sink.go

View workflow job for this annotation

GitHub Actions / Mac OS Build

syntax error: unexpected >>, expecting }

Check failure on line 133 in cdc/sinkv2/eventsink/mq/mq_dml_sink.go

View workflow job for this annotation

GitHub Actions / Mac OS Build

invalid character U+0023 '#'
}

Check failure on line 134 in cdc/sinkv2/eventsink/mq/mq_dml_sink.go

View workflow job for this annotation

GitHub Actions / Arm Build (ARM64)

syntax error: unexpected }, expecting expression

Check failure on line 134 in cdc/sinkv2/eventsink/mq/mq_dml_sink.go

View workflow job for this annotation

GitHub Actions / Arm Build (ARM64)

expression in go must be function call

Check failure on line 134 in cdc/sinkv2/eventsink/mq/mq_dml_sink.go

View workflow job for this annotation

GitHub Actions / Mac OS Build

syntax error: unexpected }, expecting expression

Check failure on line 134 in cdc/sinkv2/eventsink/mq/mq_dml_sink.go

View workflow job for this annotation

GitHub Actions / Mac OS Build

expression in go must be function call
select {

Check failure on line 135 in cdc/sinkv2/eventsink/mq/mq_dml_sink.go

View workflow job for this annotation

GitHub Actions / Arm Build (ARM64)

syntax error: non-declaration statement outside function body

Check failure on line 135 in cdc/sinkv2/eventsink/mq/mq_dml_sink.go

View workflow job for this annotation

GitHub Actions / Mac OS Build

syntax error: non-declaration statement outside function body
case errCh <- err:
Expand Down

0 comments on commit feea7f6

Please sign in to comment.