The GitHub Actions job "Golang Coverage" on rocketmq-clients.git/master has 
failed.
Run started by GitHub user RongtongJin (triggered by RongtongJin).

Head commit for run:
ec29fca80a9a6d2afe5af51c8f789e013221da7d / guyinyou 
<[email protected]>
[Go] Fix inverted hook status in Ack/DLQ methods (#1269)

The messageHookPointsStatus was incorrectly initialized to ERROR and
set to OK when the response code was not OK, which is the opposite
of the intended behavior. This affected three locations:
- push_consumer.go: Ack()
- push_consumer.go: ForwardMessageToDeadLetterQueue()
- simple_consumer.go: Ack()

Also set status to ERROR before early return on err != nil, so that
the hook always reports the correct status on failure.

Co-authored-by: guyinyou <[email protected]>

Report URL: https://github.com/apache/rocketmq-clients/actions/runs/27390430377

With regards,
GitHub Actions via GitBox

Reply via email to