Skip to content

Conversation

@mikeharder
Copy link
Member

  • Events are never published since sample calls return instead of break

@mikeharder mikeharder requested a review from jsquire November 19, 2020 06:40
@ghost ghost added the Event Hubs label Nov 19, 2020
Copy link
Member

@jsquire jsquire left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for finding this, Mike. The change looks good, but we'll need to shift it to the source of the snippet so that it doesn't get lost. If you'd prefer not to do the legwork, let me know and I'm happy to take ownership.

// be dropped or published on its own.
return;
break;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great catch.... thank you! This code gets generated from a snippet and this change will be lost. Do you mind adjusting line 97 here and line 107 here? I appear to have the same bug.

@mikeharder mikeharder changed the title Fix publishing bug in EventHubs sample Fix publishing bug in EventHubs samples Nov 19, 2020
@mikeharder
Copy link
Member Author

Fixed in #17085

@mikeharder mikeharder closed this Nov 19, 2020
@mikeharder mikeharder deleted the event-hubs-sample branch November 19, 2020 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants