Skip to content

SAMZA-2776: Fix unused parameter - EventHubSystemConsumer#1670

Merged
atoomula merged 1 commit into
apache:masterfrom
ehoner:SAMZA-2776
Jun 14, 2023
Merged

SAMZA-2776: Fix unused parameter - EventHubSystemConsumer#1670
atoomula merged 1 commit into
apache:masterfrom
ehoner:SAMZA-2776

Conversation

@ehoner

@ehoner ehoner commented Jun 14, 2023

Copy link
Copy Markdown
Contributor

Symptom: self-reported bug.

Cause: A variable added in #1660 is unused. The parameter sets the offset in the PartitionReceiver. The change was required because of API changes in the previous PR.

Changes: This change was required in two places in the original PR, however, only one was unused. This PR corrects that and updates both sites to a similar code structure.

Tests: No new tests were added. Existing tests did not identify the mistake because the change did not affect the mock used for testing. After the change, the tests failed until the mock was updated.

@ehoner
ehoner marked this pull request as ready for review June 14, 2023 14:27
@atoomula
atoomula merged commit 03d70a5 into apache:master Jun 14, 2023
@ehoner
ehoner deleted the SAMZA-2776 branch June 22, 2023 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants