Skip to content

Commit

Permalink
Merge pull request #122695 from cockroachdb/blathers/backport-release…
Browse files Browse the repository at this point in the history
…-24.1-122482

release-24.1: changefeedccl: reset statusCodesIndex in mock webhook sink
  • Loading branch information
rharding6373 authored Apr 25, 2024
2 parents d9e5c63 + 5e53d22 commit b1e0722
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/ccl/changefeedccl/cdctest/mock_webhook_sink.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ func (s *MockWebhookSink) SetStatusCodes(statusCodes []int) {
s.mu.Lock()
defer s.mu.Unlock()
s.mu.statusCodes = statusCodes
s.mu.statusCodesIndex = 0
}

// Close closes the mock Webhook sink.
Expand Down

0 comments on commit b1e0722

Please sign in to comment.