Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bug: Check for empty batch before sending #43

Merged
merged 2 commits into from
Jul 23, 2020

Conversation

hossain-rayhan
Copy link
Contributor

Issue #, if available:
#27

Description of changes:
The plugin was throwing an error when it tries to flush an empty batch. This PR adds an empty check before sending the current batch.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@hossain-rayhan hossain-rayhan requested a review from a team as a code owner July 23, 2020 17:45
@sonofachamp
Copy link
Contributor

Can we add a simple test for this change as well?

@hossain-rayhan
Copy link
Contributor Author

Can we add a simple test for this change as well?

sure.

@sonofachamp sonofachamp requested a review from a team July 23, 2020 17:52
@hossain-rayhan hossain-rayhan merged commit d200794 into aws:mainline Jul 23, 2020
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.

3 participants